diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.c')
-rw-r--r-- | src/transport/gnunet-service-transport_hello.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_hello.c b/src/transport/gnunet-service-transport_hello.c index 7b5f79a4a..7ed5c1e04 100644 --- a/src/transport/gnunet-service-transport_hello.c +++ b/src/transport/gnunet-service-transport_hello.c | |||
@@ -112,7 +112,7 @@ static int friend_option; | |||
112 | /** | 112 | /** |
113 | * Identifier of #refresh_hello_task(). | 113 | * Identifier of #refresh_hello_task(). |
114 | */ | 114 | */ |
115 | static struct GNUNET_SCHEDULER_Task * hello_task; | 115 | static struct GNUNET_SCHEDULER_Task *hello_task; |
116 | 116 | ||
117 | 117 | ||
118 | /** | 118 | /** |
@@ -180,7 +180,6 @@ refresh_hello_task (void *cls, | |||
180 | &address_generator, | 180 | &address_generator, |
181 | &gc, | 181 | &gc, |
182 | friend_option); | 182 | friend_option); |
183 | GNUNET_assert (NULL != our_hello); | ||
184 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 183 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
185 | "Refreshed my %s HELLO, new size is %d\n", | 184 | "Refreshed my %s HELLO, new size is %d\n", |
186 | (GNUNET_YES == friend_option) ? "friend-only" : "public", | 185 | (GNUNET_YES == friend_option) ? "friend-only" : "public", |
@@ -232,7 +231,7 @@ GST_hello_start (int friend_only, | |||
232 | hello_cb = cb; | 231 | hello_cb = cb; |
233 | hello_cb_cls = cb_cls; | 232 | hello_cb_cls = cb_cls; |
234 | friend_option = friend_only; | 233 | friend_option = friend_only; |
235 | refresh_hello (); | 234 | refresh_hello_task (NULL, NULL); |
236 | } | 235 | } |
237 | 236 | ||
238 | 237 | ||