aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-12 20:38:21 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-12 20:38:21 +0000
commit9bd83961538e2fbbdcbe04318adbe5af4ce919ca (patch)
treed17279deab15c725d4bc7601b41355e1d798f574 /src/peerinfo/peerinfo_api.c
parent6696043580dc03990461938f77fec27ca256914d (diff)
downloadgnunet-9bd83961538e2fbbdcbe04318adbe5af4ce919ca.tar.gz
gnunet-9bd83961538e2fbbdcbe04318adbe5af4ce919ca.zip
stuff
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r--src/peerinfo/peerinfo_api.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 2a7c990e4..6fd538f0d 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -216,15 +216,11 @@ info_handler (void *cls, const struct GNUNET_MessageHeader *msg)
216 } 216 }
217#if DEBUG_PEERINFO 217#if DEBUG_PEERINFO
218 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 218 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
219 "Received information about peer `%s' from peerinfo database\n", 219 "Received %u bytes of `%s' information about peer `%s' from PEERINFO database\n",
220 (hello == NULL) ? 0 : (unsigned int) GNUNET_HELLO_size (hello),
221 "HELLO",
220 GNUNET_i2s (&im->peer)); 222 GNUNET_i2s (&im->peer));
221#endif 223#endif
222#if DEBUG_PEERINFO
223 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
224 "Size of `%s' is %u bytes\n",
225 "HELLO",
226 (hello == NULL) ? 0 : (unsigned int) GNUNET_HELLO_size (hello));
227#endif
228 ic->callback (ic->callback_cls, &im->peer, hello, ntohl (im->trust)); 224 ic->callback (ic->callback_cls, &im->peer, hello, ntohl (im->trust));
229 GNUNET_CLIENT_receive (ic->client, 225 GNUNET_CLIENT_receive (ic->client,
230 &info_handler, 226 &info_handler,