aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;