- fix
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Jun 2012 12:03:53 +0000 (12:03 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Jun 2012 12:03:53 +0000 (12:03 +0000)
src/topology/gnunet-daemon-topology.c

index 15ca9f87b48e7631e86d5d62b03d47f130a05ef9..259d2e455fb247c4fd7798ab6b93d74b868c26e9 100644 (file)
@@ -328,7 +328,7 @@ free_peer (void *cls, const GNUNET_HashCode * pid, void *value)
   if (pos->hello_delay_task != GNUNET_SCHEDULER_NO_TASK)
     GNUNET_SCHEDULER_cancel (pos->hello_delay_task);
   if (pos->attempt_connect_task != GNUNET_SCHEDULER_NO_TASK)
-    GNUNET_SCHEDULER_cancel (pos->hello_delay_task);
+    GNUNET_SCHEDULER_cancel (pos->attempt_connect_task);
   if (pos->greylist_clean_task != GNUNET_SCHEDULER_NO_TASK)
     GNUNET_SCHEDULER_cancel (pos->greylist_clean_task);
   GNUNET_free_non_null (pos->hello);