aboutsummaryrefslogtreecommitdiff
path: root/src/util/server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-10 09:17:35 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-10 09:17:35 +0000
commit51ed6d96424619a8669854deab5f6ec05806c75a (patch)
tree94c982e056512aea75291451bbb49a5ee7b43fad /src/util/server.c
parentd35ee7b88ec22921db230b26f628067b587ce134 (diff)
downloadgnunet-51ed6d96424619a8669854deab5f6ec05806c75a.tar.gz
gnunet-51ed6d96424619a8669854deab5f6ec05806c75a.zip
warn
Diffstat (limited to 'src/util/server.c')
-rw-r--r--src/util/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 6a59ce866..242feba43 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -617,13 +617,11 @@ 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 DEBUG_SERVER 620 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
621 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
622 "Expected %u bytes for message of type %u, got %u\n", 621 "Expected %u bytes for message of type %u, got %u\n",
623 mh->expected_size, 622 mh->expected_size,
624 mh->type, 623 mh->type,
625 size); 624 size);
626#endif
627 GNUNET_break_op (0); 625 GNUNET_break_op (0);
628 return GNUNET_SYSERR; 626 return GNUNET_SYSERR;
629 } 627 }