From a4bdb5d0d57ca2789d31d97a2683c872035738e3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 31 May 2010 09:46:49 +0000 Subject: [PATCH] logm --- src/util/client.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.25.1