diff options
Diffstat (limited to 'src/datastore/gnunet-service-datastore.c')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index fdccd925e..6ebfba7fc 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -391,7 +391,9 @@ static void | |||
391 | delete_expired (void *cls) | 391 | delete_expired (void *cls) |
392 | { | 392 | { |
393 | expired_kill_task = NULL; | 393 | expired_kill_task = NULL; |
394 | plugin->api->get_expiration (plugin->api->cls, &expired_processor, NULL); | 394 | plugin->api->get_expiration (plugin->api->cls, |
395 | &expired_processor, | ||
396 | NULL); | ||
395 | } | 397 | } |
396 | 398 | ||
397 | 399 | ||
@@ -1819,9 +1821,8 @@ run (void *cls, | |||
1819 | GNUNET_SERVER_disconnect_notify (server, | 1821 | GNUNET_SERVER_disconnect_notify (server, |
1820 | &cleanup_reservations, | 1822 | &cleanup_reservations, |
1821 | NULL); | 1823 | NULL); |
1822 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 1824 | GNUNET_SCHEDULER_add_shutdown (&cleaning_task, |
1823 | &cleaning_task, | 1825 | NULL); |
1824 | NULL); | ||
1825 | } | 1826 | } |
1826 | 1827 | ||
1827 | 1828 | ||