summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index ed7942112..fb59a90dc 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -4047,10 +4047,11 @@ check_pending_validation (void *cls,
&my_identity,
sizeof (struct GNUNET_PeerIdentity)))
{
- char * peer1;
- GNUNET_asprintf(&peer1, "%s",GNUNET_i2s (&pong->pid));
+ char * peer;
+ GNUNET_asprintf(&peer, "%s",GNUNET_i2s (&pong->pid));
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Received PONG for different identity : %s %s\n",GNUNET_i2s (&my_identity), peer1 );
+ "Received PONG for different identity : I am %s, PONG identity: %s\n",GNUNET_i2s (&my_identity), peer );
+ GNUNET_free (peer);
GNUNET_break_op (0);
return GNUNET_NO;
}