aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-06-16 14:03:28 +0000
committerNathan S. Evans <evans@in.tum.de>2011-06-16 14:03:28 +0000
commitead465b28ee163e0901c795ac9ce8749286000ba (patch)
tree557c0265f9b8bf8eda2ab3e8e19c3c9b9a351ea7
parente654ccc9fb0cca819db22ecde4a077a574628f0f (diff)
downloadgnunet-ead465b28ee163e0901c795ac9ce8749286000ba.tar.gz
gnunet-ead465b28ee163e0901c795ac9ce8749286000ba.zip
fix for assertion failure on topology daemon shutdown
-rw-r--r--src/topology/gnunet-daemon-topology.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index f7118a058..4e8f1c36d 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -1317,8 +1317,11 @@ hello_advertising_ready (void *cls,
1317 1, 1317 1,
1318 GNUNET_NO); 1318 GNUNET_NO);
1319 } 1319 }
1320
1321 if (pl->hello_delay_task != GNUNET_SCHEDULER_NO_TASK)
1322 GNUNET_SCHEDULER_cancel(pl->hello_delay_task);
1320 pl->next_hello_allowed = GNUNET_TIME_relative_to_absolute (HELLO_ADVERTISEMENT_MIN_FREQUENCY); 1323 pl->next_hello_allowed = GNUNET_TIME_relative_to_absolute (HELLO_ADVERTISEMENT_MIN_FREQUENCY);
1321 pl->hello_delay_task 1324 pl->hello_delay_task
1322 = GNUNET_SCHEDULER_add_now (&schedule_next_hello, 1325 = GNUNET_SCHEDULER_add_now (&schedule_next_hello,
1323 pl); 1326 pl);
1324 return want; 1327 return want;