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:
6811ba4
)
-LRN: better size mismatch reports
author
Christian Grothoff
<christian@grothoff.org>
Fri, 30 Dec 2011 21:33:41 +0000
(21:33 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 30 Dec 2011 21:33:41 +0000
(21:33 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 281a851e05411a5b58bbee639de84a4ff6cea244..66df134fb1acaf7c5ace5f77f1f02c79a954bf14 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-984,8
+984,8
@@
main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg)
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
);
+ "Unexpected message size
%u for message of type %u from peer `%4s'
\n",
+
htons (em->size), mh->type, GNUNET_i2s (&ntm->peer)
);
GNUNET_break_op (0);
continue;
}