From f0a6b4340e17b0334029ba63ce15b93fcc19a1b2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 5 Oct 2011 13:54:31 +0000 Subject: p should be p --- src/transport/test_transport_api_reliability.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, #if VERBOSE if (ntohl (hdr->num) % 5000 == 0) { - char * ps = strdup(GNUNET_i2s(&n->id)); + struct PeerContext *p = cls; + char * ps = strdup(GNUNET_i2s(&p->id)); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%s') got message %u of size %u from peer (`%s')\n", p->no, ps, ntohl (hdr->num), ntohs (message->size), GNUNET_i2s(peer)); GNUNET_free (ps); -- cgit v1.2.3