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/pt/gnunet-daemon-pt.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) | |
download | gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/pt/gnunet-daemon-pt.c')
-rw-r--r-- | src/pt/gnunet-daemon-pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c index a86cbd316..02c0df3cc 100644 --- a/src/pt/gnunet-daemon-pt.c +++ b/src/pt/gnunet-daemon-pt.c | |||
@@ -228,7 +228,7 @@ struct RequestContext | |||
228 | /** | 228 | /** |
229 | * Task used to abort this operation with timeout. | 229 | * Task used to abort this operation with timeout. |
230 | */ | 230 | */ |
231 | struct GNUNET_SCHEDULER_Task * timeout_task; | 231 | struct GNUNET_SCHEDULER_Task *timeout_task; |
232 | 232 | ||
233 | /** | 233 | /** |
234 | * Length of the request message that follows this struct. | 234 | * Length of the request message that follows this struct. |
@@ -1244,7 +1244,7 @@ run (void *cls, char *const *args GNUNET_UNUSED, | |||
1244 | GNUNET_SCHEDULER_shutdown (); | 1244 | GNUNET_SCHEDULER_shutdown (); |
1245 | return; | 1245 | return; |
1246 | } | 1246 | } |
1247 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup, cls); | 1247 | GNUNET_SCHEDULER_add_shutdown (&cleanup, cls); |
1248 | if (ipv4_pt || ipv6_pt) | 1248 | if (ipv4_pt || ipv6_pt) |
1249 | { | 1249 | { |
1250 | dns_post_handle | 1250 | dns_post_handle |