fix behaviour of GNUNET_SCHEDULER_add_select on empty fdsets
authorlurchi <lurchi@strangeplace.net>
Thu, 24 Aug 2017 20:17:46 +0000 (22:17 +0200)
committerlurchi <lurchi@strangeplace.net>
Thu, 24 Aug 2017 20:17:46 +0000 (22:17 +0200)
commitfe7759b2428c183fe9595640abece0937ec88bcc
treed3fbbd50029f31c4b141a437b7f7bf9e3928e3d5
parenta9a1f2b07fe8b15601b434756ba7ddb263978293
fix behaviour of GNUNET_SCHEDULER_add_select on empty fdsets

if GNUNET_SCHEDULER_add_select is called with empty fdsets, the
    resulting task is now added to the pending_timeout queue instead of
    the pending queue. This way the driver will not know about the task.
src/util/scheduler.c