projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be135a7
)
logm
author
Christian Grothoff
<christian@grothoff.org>
Mon, 31 May 2010 09:46:49 +0000
(09:46 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 31 May 2010 09:46:49 +0000
(09:46 +0000)
src/util/client.c
patch
|
blob
|
history
diff --git
a/src/util/client.c
b/src/util/client.c
index 24740caabc1babe85ced703432683331d579aaf3..f964b7322177ced5a5e531c7bbe2913f10f23e3a 100644
(file)
--- 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);