diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-22 16:55:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-22 16:55:16 +0000 |
commit | 98ea57dd2236542414e52792672d8563c8ca4294 (patch) | |
tree | 2b8e660b1f1ff325e447cf84b8eaa363ab77123c /src/peerinfo/peerinfo_api.c | |
parent | 48436941449d867ef9a32ddf29439c5017d37775 (diff) | |
download | gnunet-98ea57dd2236542414e52792672d8563c8ca4294.tar.gz gnunet-98ea57dd2236542414e52792672d8563c8ca4294.zip |
fix
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index 0f95a421a..5531ede97 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -223,7 +223,7 @@ info_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
223 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 223 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
224 | "Size of `%s' is %u bytes\n", | 224 | "Size of `%s' is %u bytes\n", |
225 | "HELLO", | 225 | "HELLO", |
226 | (unsigned int) GNUNET_HELLO_size (hello)); | 226 | (hello == NULL) ? 0 : (unsigned int) GNUNET_HELLO_size (hello)); |
227 | #endif | 227 | #endif |
228 | ic->callback (ic->callback_cls, &im->peer, hello, ntohl (im->trust)); | 228 | ic->callback (ic->callback_cls, &im->peer, hello, ntohl (im->trust)); |
229 | GNUNET_CLIENT_receive (ic->client, | 229 | GNUNET_CLIENT_receive (ic->client, |