be more verbose
authorChristian Grothoff <christian@grothoff.org>
Sun, 23 Oct 2011 13:38:01 +0000 (13:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 23 Oct 2011 13:38:01 +0000 (13:38 +0000)
src/core/core_api.c

index 3349f79abbd055a255ebab96a96230f607efaba0..878e25a2e18a1bac12419c4fefaf1566c4f92331 100644 (file)
@@ -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;
       }