From: Christian Grothoff Date: Fri, 10 Sep 2010 09:42:48 +0000 (+0000) Subject: clarify why we get these warnings X-Git-Tag: initial-import-from-subversion-38251~20354 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19a69deaef6bc3db63a31277a7d1bfef95f398de;p=oweals%2Fgnunet.git clarify why we get these warnings --- diff --git a/src/util/server.c b/src/util/server.c index 242feba43..516885fed 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -617,12 +617,14 @@ GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server, { if ((mh->expected_size != 0) && (mh->expected_size != size)) { +#if GNUNET8_NETWORK_IS_DEAD GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Expected %u bytes for message of type %u, got %u\n", mh->expected_size, mh->type, size); GNUNET_break_op (0); +#endif return GNUNET_SYSERR; } if (sender != NULL)