warn
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Sep 2010 09:17:35 +0000 (09:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Sep 2010 09:17:35 +0000 (09:17 +0000)
src/util/server.c

index 6a59ce86688d628741e942f7095e86a4946861ad..242feba43b8521a546751f8c038c37fb16d8ccef 100644 (file)
@@ -617,13 +617,11 @@ GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server,
             {
               if ((mh->expected_size != 0) && (mh->expected_size != size))
                 {
-#if DEBUG_SERVER
-                 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                              "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;
                 }