From 13bf80ebd02a27fa1ba194ec2cbe0a2df5664156 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 20 Oct 2010 11:46:54 +0000 Subject: [PATCH] fix --- src/core/core_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index 763d48a39..6d492537d 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -879,7 +879,7 @@ produce_send (void *cls, size_t size, void *buf) #if DEBUG_CORE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Size of clients message to peer %s is 0!\n", - GNUNET_i2s(&th->peer)); + GNUNET_i2s(&sm->peer)); #endif /* client decided to send nothing! */ return 0; @@ -899,7 +899,7 @@ produce_send (void *cls, size_t size, void *buf) GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Preparing for P2P transmission of %u bytes to `%4s'.\n", dt, - GNUNET_i2s(&th->peer)); + GNUNET_i2s(&sm->peer)); #endif sm->header.size = htons (dt + sizeof (struct SendMessage)); GNUNET_assert (dt + sizeof (struct SendMessage) <= size); -- 2.25.1