From: Christian Grothoff Date: Mon, 3 Aug 2015 09:29:49 +0000 (+0000) Subject: -use simpler, modern scheduler API X-Git-Tag: initial-import-from-subversion-38251~1541 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b672e435a8fc1239bede438003e1c573329783d;p=oweals%2Fgnunet.git -use simpler, modern scheduler API --- diff --git a/src/sensor/gnunet-service-sensor_update.c b/src/sensor/gnunet-service-sensor_update.c index 1a3c0db28..b2c8b21d4 100644 --- a/src/sensor/gnunet-service-sensor_update.c +++ b/src/sensor/gnunet-service-sensor_update.c @@ -710,7 +710,7 @@ handle_sensor_full (void *cls, struct GNUNET_CADET_Channel *channel, { updating = GNUNET_NO; cleanup_updatepoint (up_default); - GNUNET_SCHEDULER_add_continuation (&reset, NULL, 0); + GNUNET_SCHEDULER_add_now (&reset, NULL); } else GNUNET_CADET_receive_done (channel);