gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15673 - gnunet/src/topology


From: gnunet
Subject: [GNUnet-SVN] r15673 - gnunet/src/topology
Date: Thu, 16 Jun 2011 16:03:28 +0200

Author: nevans
Date: 2011-06-16 16:03:28 +0200 (Thu, 16 Jun 2011)
New Revision: 15673

Modified:
   gnunet/src/topology/gnunet-daemon-topology.c
Log:
fix for assertion failure on topology daemon shutdown

Modified: gnunet/src/topology/gnunet-daemon-topology.c
===================================================================
--- gnunet/src/topology/gnunet-daemon-topology.c        2011-06-16 13:53:59 UTC 
(rev 15672)
+++ gnunet/src/topology/gnunet-daemon-topology.c        2011-06-16 14:03:28 UTC 
(rev 15673)
@@ -1317,8 +1317,11 @@
                                1,
                                GNUNET_NO);    
     }
+
+  if (pl->hello_delay_task != GNUNET_SCHEDULER_NO_TASK)
+    GNUNET_SCHEDULER_cancel(pl->hello_delay_task);
   pl->next_hello_allowed = GNUNET_TIME_relative_to_absolute 
(HELLO_ADVERTISEMENT_MIN_FREQUENCY);
-  pl->hello_delay_task 
+  pl->hello_delay_task
     = GNUNET_SCHEDULER_add_now (&schedule_next_hello,
                                pl);
   return want;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]