diff options
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 2 |
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) |