p should be n
authorChristian Grothoff <christian@grothoff.org>
Wed, 5 Oct 2011 13:53:35 +0000 (13:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 5 Oct 2011 13:53:35 +0000 (13:53 +0000)
src/transport/test_transport_api_reliability.c

index a3c7ac7b93a2dc4c4d12445454ae0eb093ce055a..df361b1376c779da853fe4de40a64d66ef1921ba 100644 (file)
@@ -237,7 +237,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
 #if VERBOSE
   if (ntohl (hdr->num) % 5000 == 0)
   {
-    char * ps = strdup(GNUNET_i2s(&p->id));
+    char * ps = strdup(GNUNET_i2s(&n->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);