diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-04 09:01:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-04 09:01:19 +0000 |
commit | 4e36d4760a9c9e188ac06b229f2b693e5cc1a8e7 (patch) | |
tree | a3b8b8fe4c12fd8cd8bc8082818b8eb0190b384f /src/transport/transport_api.c | |
parent | 8eaceaaedac30d09631f619bab86402f0b07e3d2 (diff) | |
download | gnunet-4e36d4760a9c9e188ac06b229f2b693e5cc1a8e7.tar.gz gnunet-4e36d4760a9c9e188ac06b229f2b693e5cc1a8e7.zip |
fix
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r-- | src/transport/transport_api.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index e08205005..15d4d1223 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c | |||
@@ -1018,7 +1018,13 @@ GNUNET_TRANSPORT_get_hello (struct GNUNET_TRANSPORT_Handle *handle, | |||
1018 | hwl->rec = rec; | 1018 | hwl->rec = rec; |
1019 | hwl->rec_cls = rec_cls; | 1019 | hwl->rec_cls = rec_cls; |
1020 | if (handle->my_hello == NULL) | 1020 | if (handle->my_hello == NULL) |
1021 | return; | 1021 | { |
1022 | #if DEBUG_TRANSPORT_HELLO | ||
1023 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1024 | "No HELLO yet, waiting to receive it from transport service\n"); | ||
1025 | #endif | ||
1026 | return; | ||
1027 | } | ||
1022 | rec (rec_cls, (const struct GNUNET_MessageHeader *) handle->my_hello); | 1028 | rec (rec_cls, (const struct GNUNET_MessageHeader *) handle->my_hello); |
1023 | } | 1029 | } |
1024 | 1030 | ||