diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:46:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:46:03 +0100 |
commit | 7e9e4e320d6eee5bf6afd876b282609712cb72db (patch) | |
tree | eda9315b99a026c9033d2db0ed7993d4e524700d /src/topology/gnunet-daemon-topology.c | |
parent | 542bf871c6eebdc645884960559e15ce400939e6 (diff) |
use new SCHEDULER_add_at API where applicable
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index d48f07e719..067ebce238 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -534,10 +534,10 @@ schedule_next_hello (void *cls) 1, GNUNET_NO); /* prepare to send the next one */ - if (NULL != pl->hello_delay_task) - GNUNET_SCHEDULER_cancel (pl->hello_delay_task); pl->next_hello_allowed = GNUNET_TIME_relative_to_absolute (HELLO_ADVERTISEMENT_MIN_FREQUENCY); + if (NULL != pl->hello_delay_task) + GNUNET_SCHEDULER_cancel (pl->hello_delay_task); pl->hello_delay_task = GNUNET_SCHEDULER_add_now (&schedule_next_hello, pl); @@ -1022,7 +1022,7 @@ check_hello (void *cls, const struct GNUNET_HELLO_Message *message) { struct GNUNET_PeerIdentity pid; - + if (GNUNET_OK != GNUNET_HELLO_get_id (message, &pid)) |