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:
9489b33
)
log
author
Christian Grothoff
<christian@grothoff.org>
Tue, 20 Jul 2010 21:58:03 +0000
(21:58 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 20 Jul 2010 21:58:03 +0000
(21:58 +0000)
src/util/server.c
patch
|
blob
|
history
diff --git
a/src/util/server.c
b/src/util/server.c
index 3011f4927223bbbac668f044eed039e527381fd1..e543de6670150c5bf8c5f1d06f5864debe83df78 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-617,6
+617,11
@@
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"),
+ mh->expected_size,
+ mh->type,
+ size);
GNUNET_break_op (0);
return GNUNET_SYSERR;
}