gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12962 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r12962 - gnunet/src/util
Date: Fri, 10 Sep 2010 11:42:48 +0200

Author: grothoff
Date: 2010-09-10 11:42:48 +0200 (Fri, 10 Sep 2010)
New Revision: 12962

Modified:
   gnunet/src/util/server.c
Log:
clarify why we get these warnings

Modified: gnunet/src/util/server.c
===================================================================
--- gnunet/src/util/server.c    2010-09-10 09:22:59 UTC (rev 12961)
+++ gnunet/src/util/server.c    2010-09-10 09:42:48 UTC (rev 12962)
@@ -617,12 +617,14 @@
             {
               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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]