diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-28 15:14:38 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-28 15:14:38 +0000 |
commit | b3883971cd31d198dbd768fffb15960dff0352a6 (patch) | |
tree | 1803032b911774f57158013eedfc26a3c0fb5462 /src/transport/gnunet-service-transport_hello.c | |
parent | 1fe395444d868f4fd66d44da83cb61a69acc6b66 (diff) | |
download | gnunet-b3883971cd31d198dbd768fffb15960dff0352a6.tar.gz gnunet-b3883971cd31d198dbd768fffb15960dff0352a6.zip |
new friend only HELLO type GNUNET_MESSAGE_TYPE_FRIEND_HELLO
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.c')
-rw-r--r-- | src/transport/gnunet-service-transport_hello.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_hello.c b/src/transport/gnunet-service-transport_hello.c index c04d2e1dd..78968ae77 100644 --- a/src/transport/gnunet-service-transport_hello.c +++ b/src/transport/gnunet-service-transport_hello.c | |||
@@ -167,7 +167,7 @@ refresh_hello_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
167 | gc.expiration = GNUNET_TIME_relative_to_absolute (hello_expiration); | 167 | gc.expiration = GNUNET_TIME_relative_to_absolute (hello_expiration); |
168 | 168 | ||
169 | GNUNET_free (our_hello); | 169 | GNUNET_free (our_hello); |
170 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, &address_generator, &gc); | 170 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, &address_generator, &gc, GNUNET_NO); |
171 | GNUNET_assert (NULL != our_hello); | 171 | GNUNET_assert (NULL != our_hello); |
172 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK, | 172 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK, |
173 | "Refreshed my `%s', new size is %d\n", "HELLO", | 173 | "Refreshed my `%s', new size is %d\n", "HELLO", |
@@ -208,7 +208,7 @@ GST_hello_start (GST_HelloCallback cb, void *cb_cls) | |||
208 | { | 208 | { |
209 | hello_cb = cb; | 209 | hello_cb = cb; |
210 | hello_cb_cls = cb_cls; | 210 | hello_cb_cls = cb_cls; |
211 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, NULL, NULL); | 211 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, NULL, NULL, GNUNET_NO); |
212 | GNUNET_assert (NULL != our_hello); | 212 | GNUNET_assert (NULL != our_hello); |
213 | refresh_hello (); | 213 | refresh_hello (); |
214 | } | 214 | } |