From 6ec2adf77b7c08ee8c427e38338dd39500cfa7f3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 23 Oct 2011 13:38:01 +0000 Subject: [PATCH] be more verbose --- src/core/core_api.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/core_api.c b/src/core/core_api.c index 3349f79ab..878e25a2e 100644 --- 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; } -- 2.25.1