aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-05 13:54:31 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-05 13:54:31 +0000
commitf0a6b4340e17b0334029ba63ce15b93fcc19a1b2 (patch)
tree25badfede66ff980f521015d00600bf50f029de8 /src/transport/test_transport_api_reliability.c
parentb9ce1e87dfdfa316a172766cafd65c9a8fbf5177 (diff)
downloadgnunet-f0a6b4340e17b0334029ba63ce15b93fcc19a1b2.tar.gz
gnunet-f0a6b4340e17b0334029ba63ce15b93fcc19a1b2.zip
p should be p
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-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);