From: Christian Grothoff Date: Wed, 20 Oct 2010 11:46:54 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~20035 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13bf80ebd02a27fa1ba194ec2cbe0a2df5664156;p=oweals%2Fgnunet.git fix --- 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);