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:
6c7edd2
)
clarify why we get these warnings
author
Christian Grothoff
<christian@grothoff.org>
Fri, 10 Sep 2010 09:42:48 +0000
(09:42 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 10 Sep 2010 09:42:48 +0000
(09:42 +0000)
src/util/server.c
patch
|
blob
|
history
diff --git
a/src/util/server.c
b/src/util/server.c
index 242feba43b8521a546751f8c038c37fb16d8ccef..516885fedfc3da2e87348837d6412262650728e7 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-617,12
+617,14
@@
GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server,
{
if ((mh->expected_size != 0) && (mh->expected_size != size))
{
+#if GNUNET8_NETWORK_IS_DEAD
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Expected %u bytes for message of type %u, got %u\n",
mh->expected_size,
mh->type,
size);
GNUNET_break_op (0);
+#endif
return GNUNET_SYSERR;
}
if (sender != NULL)