-use simpler, modern scheduler API
authorChristian Grothoff <christian@grothoff.org>
Mon, 3 Aug 2015 09:29:49 +0000 (09:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 3 Aug 2015 09:29:49 +0000 (09:29 +0000)
src/sensor/gnunet-service-sensor_update.c

index 1a3c0db2846674f5c3bbab449af94237d172c247..b2c8b21d40226646775f29aa95a8e352b940150a 100644 (file)
@@ -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);