diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
commit | 95f9076a2139f5fb042b944a0658b6cda2fa35db (patch) | |
tree | b0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/secretsharing/test_secretsharing_api.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/secretsharing/test_secretsharing_api.c')
-rw-r--r-- | src/secretsharing/test_secretsharing_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/secretsharing/test_secretsharing_api.c b/src/secretsharing/test_secretsharing_api.c index 5057d5c335..341a33b847 100644 --- a/src/secretsharing/test_secretsharing_api.c +++ b/src/secretsharing/test_secretsharing_api.c @@ -68,8 +68,7 @@ run (void *cls, struct GNUNET_TIME_Absolute start; struct GNUNET_TIME_Absolute deadline; - GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, - handle_shutdown, NULL); + GNUNET_SCHEDULER_add_shutdown (&handle_shutdown, NULL); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "testing secretsharing api\n"); |