From: Christian Grothoff Date: Mon, 31 May 2010 09:46:49 +0000 (+0000) Subject: logm X-Git-Tag: initial-import-from-subversion-38251~21520 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4bdb5d0d57ca2789d31d97a2683c872035738e3;p=oweals%2Fgnunet.git logm --- diff --git a/src/util/client.c b/src/util/client.c index 24740caab..f964b7322 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -486,6 +486,11 @@ receive_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) char mbuf[msize]; struct GNUNET_MessageHeader *msg = (struct GNUNET_MessageHeader *) mbuf; +#if DEBUG_CLIENT + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Received message of size %u\n", + msize); +#endif sock->receive_task = GNUNET_SCHEDULER_NO_TASK; GNUNET_assert (GNUNET_YES == sock->msg_complete); GNUNET_assert (sock->received_pos >= msize);