diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-27 12:46:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-27 12:46:48 +0000 |
commit | 1f3e06a9d063aefd82ff5081f340a3ce5783ca9b (patch) | |
tree | 21c32a583fc253eb4609fdabaf1ab00305824a4d /src/transport/gnunet-service-transport_hello.c | |
parent | fb8d41530a536dda3dba02ea3674475db6570f04 (diff) | |
download | gnunet-1f3e06a9d063aefd82ff5081f340a3ce5783ca9b.tar.gz gnunet-1f3e06a9d063aefd82ff5081f340a3ce5783ca9b.zip |
process find peer requests and replies
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.c')
-rw-r--r-- | src/transport/gnunet-service-transport_hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_hello.c b/src/transport/gnunet-service-transport_hello.c index 2793ce5eb..a1c721857 100644 --- a/src/transport/gnunet-service-transport_hello.c +++ b/src/transport/gnunet-service-transport_hello.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_constants.h" | ||
27 | #include "gnunet_hello_lib.h" | 28 | #include "gnunet_hello_lib.h" |
28 | #include "gnunet_peerinfo_service.h" | 29 | #include "gnunet_peerinfo_service.h" |
29 | #include "gnunet_statistics_service.h" | 30 | #include "gnunet_statistics_service.h" |
@@ -165,7 +166,7 @@ refresh_hello_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
165 | hello_task = GNUNET_SCHEDULER_NO_TASK; | 166 | hello_task = GNUNET_SCHEDULER_NO_TASK; |
166 | gc.addr_pos = oal_head; | 167 | gc.addr_pos = oal_head; |
167 | gc.expiration = | 168 | gc.expiration = |
168 | GNUNET_TIME_relative_to_absolute (GST_HELLO_ADDRESS_EXPIRATION); | 169 | GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_HELLO_ADDRESS_EXPIRATION); |
169 | GNUNET_free (our_hello); | 170 | GNUNET_free (our_hello); |
170 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, &address_generator, &gc); | 171 | our_hello = GNUNET_HELLO_create (&GST_my_public_key, &address_generator, &gc); |
171 | #if DEBUG_TRANSPORT | 172 | #if DEBUG_TRANSPORT |