From: Christian Grothoff Date: Tue, 20 Jul 2010 21:58:03 +0000 (+0000) Subject: log X-Git-Tag: initial-import-from-subversion-38251~20886 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d37472f963a9c7c351f5450299ec07254372adae;p=oweals%2Fgnunet.git log --- diff --git a/src/util/server.c b/src/util/server.c index 3011f4927..e543de667 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -617,6 +617,11 @@ 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"), + mh->expected_size, + mh->type, + size); GNUNET_break_op (0); return GNUNET_SYSERR; }