From 19a69deaef6bc3db63a31277a7d1bfef95f398de Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 10 Sep 2010 09:42:48 +0000 Subject: [PATCH] clarify why we get these warnings --- src/util/server.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.25.1