aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/test_transport_api_reliability.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index df361b137..e028c93fd 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -237,7 +237,8 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
237#if VERBOSE 237#if VERBOSE
238 if (ntohl (hdr->num) % 5000 == 0) 238 if (ntohl (hdr->num) % 5000 == 0)
239 { 239 {
240 char * ps = strdup(GNUNET_i2s(&n->id)); 240 struct PeerContext *p = cls;
241 char * ps = strdup(GNUNET_i2s(&p->id));
241 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%s') got message %u of size %u from peer (`%s')\n", 242 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%s') got message %u of size %u from peer (`%s')\n",
242 p->no, ps, ntohl (hdr->num), ntohs (message->size), GNUNET_i2s(peer)); 243 p->no, ps, ntohl (hdr->num), ntohs (message->size), GNUNET_i2s(peer));
243 GNUNET_free (ps); 244 GNUNET_free (ps);