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:
458cb34
)
be more verbose
author
Christian Grothoff
<christian@grothoff.org>
Sun, 23 Oct 2011 13:38:01 +0000
(13:38 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 23 Oct 2011 13:38:01 +0000
(13:38 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 3349f79abbd055a255ebab96a96230f607efaba0..878e25a2e18a1bac12419c4fefaf1566c4f92331 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-986,6
+986,9
@@
main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg)
continue;
if ((mh->expected_size != ntohs (em->size)) && (mh->expected_size != 0))
{
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Unexpected message size for message of type %u\n",
+ mh->type);
GNUNET_break (0);
continue;
}