diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-10 09:17:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-10 09:17:35 +0000 |
commit | 51ed6d96424619a8669854deab5f6ec05806c75a (patch) | |
tree | 94c982e056512aea75291451bbb49a5ee7b43fad /src/util/server.c | |
parent | d35ee7b88ec22921db230b26f628067b587ce134 (diff) | |
download | gnunet-51ed6d96424619a8669854deab5f6ec05806c75a.tar.gz gnunet-51ed6d96424619a8669854deab5f6ec05806c75a.zip |
warn
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 4 |
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 | } |