From: Christian Grothoff Date: Thu, 14 Jan 2010 22:29:33 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22972 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa3d8ad05b189199f75ad99d691b80b1acf67f1d;p=oweals%2Fgnunet.git fix --- 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, "Peers connected, shutting down.\n"); GNUNET_assert (ok == 4); ok = 0; + GNUNET_SCHEDULER_cancel (sched, + timeout_task); + timeout_task = GNUNET_SCHEDULER_NO_TASK; GNUNET_SCHEDULER_add_now (sched, &clean_up, NULL); }