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:
d37472f
)
harmless
author
Christian Grothoff
<christian@grothoff.org>
Tue, 20 Jul 2010 22:06:15 +0000
(22:06 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 20 Jul 2010 22:06:15 +0000
(22:06 +0000)
src/util/server.c
patch
|
blob
|
history
diff --git
a/src/util/server.c
b/src/util/server.c
index e543de6670150c5bf8c5f1d06f5864debe83df78..6a59ce86688d628741e942f7095e86a4946861ad 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-617,11
+617,13
@@
GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server,
{
if ((mh->expected_size != 0) && (mh->expected_size != size))
{
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- _("Expected %u bytes for message of type %u, got %u\n"),
+#if DEBUG_SERVER
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Expected %u bytes for message of type %u, got %u\n",
mh->expected_size,
mh->type,
size);
+#endif
GNUNET_break_op (0);
return GNUNET_SYSERR;
}