From: Christian Grothoff Date: Tue, 20 Jul 2010 22:06:15 +0000 (+0000) Subject: harmless X-Git-Tag: initial-import-from-subversion-38251~20885 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c82ed0ea9ceadb94544d16ee263e6c813edbd73;p=oweals%2Fgnunet.git harmless --- diff --git a/src/util/server.c b/src/util/server.c index e543de667..6a59ce866 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -617,11 +617,13 @@ GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server, { if ((mh->expected_size != 0) && (mh->expected_size != size)) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - _("Expected %u bytes for message of type %u, got %u\n"), +#if DEBUG_SERVER + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Expected %u bytes for message of type %u, got %u\n", mh->expected_size, mh->type, size); +#endif GNUNET_break_op (0); return GNUNET_SYSERR; }