aboutsummaryrefslogtreecommitdiff
path: root/src/util/server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-20 21:58:03 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-20 21:58:03 +0000
commitd37472f963a9c7c351f5450299ec07254372adae (patch)
treed2d0bf114d8af9c15b801fab5783400e94332706 /src/util/server.c
parent9489b330cdc1edce69198efd66cbd66e06b0b4d6 (diff)
downloadgnunet-d37472f963a9c7c351f5450299ec07254372adae.tar.gz
gnunet-d37472f963a9c7c351f5450299ec07254372adae.zip
log
Diffstat (limited to 'src/util/server.c')
-rw-r--r--src/util/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 3011f4927..e543de667 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -617,6 +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 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
621 _("Expected %u bytes for message of type %u, got %u\n"),
622 mh->expected_size,
623 mh->type,
624 size);
620 GNUNET_break_op (0); 625 GNUNET_break_op (0);
621 return GNUNET_SYSERR; 626 return GNUNET_SYSERR;
622 } 627 }