diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-14 22:29:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-14 22:29:33 +0000 |
commit | fa3d8ad05b189199f75ad99d691b80b1acf67f1d (patch) | |
tree | e3e3f862d25ff13d0eef536d173b2fc19b845ef3 /src/hostlist/test_gnunet_daemon_hostlist.c | |
parent | 20dd3d96cb1dbd4deb19321728a62d89c88aa9cc (diff) | |
download | gnunet-fa3d8ad05b189199f75ad99d691b80b1acf67f1d.tar.gz gnunet-fa3d8ad05b189199f75ad99d691b80b1acf67f1d.zip |
fix
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c index 04330dbd0..a98aa52fe 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist.c +++ b/src/hostlist/test_gnunet_daemon_hostlist.c | |||
@@ -101,6 +101,9 @@ notify_connect (void *cls, | |||
101 | "Peers connected, shutting down.\n"); | 101 | "Peers connected, shutting down.\n"); |
102 | GNUNET_assert (ok == 4); | 102 | GNUNET_assert (ok == 4); |
103 | ok = 0; | 103 | ok = 0; |
104 | GNUNET_SCHEDULER_cancel (sched, | ||
105 | timeout_task); | ||
106 | timeout_task = GNUNET_SCHEDULER_NO_TASK; | ||
104 | GNUNET_SCHEDULER_add_now (sched, | 107 | GNUNET_SCHEDULER_add_now (sched, |
105 | &clean_up, NULL); | 108 | &clean_up, NULL); |
106 | } | 109 | } |