aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-10 09:42:48 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-10 09:42:48 +0000
commit19a69deaef6bc3db63a31277a7d1bfef95f398de (patch)
tree74599296d12cb775753150d7d642318f44d31229 /src/util
parent6c7edd21756db7dcac67481aeea0873be2aceb1b (diff)
downloadgnunet-19a69deaef6bc3db63a31277a7d1bfef95f398de.tar.gz
gnunet-19a69deaef6bc3db63a31277a7d1bfef95f398de.zip
clarify why we get these warnings
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c2
1 files changed, 2 insertions, 0 deletions
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,
617 { 617 {
618 if ((mh->expected_size != 0) && (mh->expected_size != size)) 618 if ((mh->expected_size != 0) && (mh->expected_size != size))
619 { 619 {
620#if GNUNET8_NETWORK_IS_DEAD
620 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 621 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
621 "Expected %u bytes for message of type %u, got %u\n", 622 "Expected %u bytes for message of type %u, got %u\n",
622 mh->expected_size, 623 mh->expected_size,
623 mh->type, 624 mh->type,
624 size); 625 size);
625 GNUNET_break_op (0); 626 GNUNET_break_op (0);
627#endif
626 return GNUNET_SYSERR; 628 return GNUNET_SYSERR;
627 } 629 }
628 if (sender != NULL) 630 if (sender != NULL)