aboutsummaryrefslogtreecommitdiff
path: root/src/util/server.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-14 06:49:25 +0000
committerLRN <lrn1986@gmail.com>2013-03-14 06:49:25 +0000
commit3495685897a675a247e2c980c9ad46920254f143 (patch)
tree38e58043418718fa8ddcd96fcc94b0f3da3607cd /src/util/server.c
parent13ff0e9218c0969d4a5fa376b4672c49af268233 (diff)
downloadgnunet-3495685897a675a247e2c980c9ad46920254f143.tar.gz
gnunet-3495685897a675a247e2c980c9ad46920254f143.zip
Do log messages with wrong size
Diffstat (limited to 'src/util/server.c')
-rw-r--r--src/util/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 526821477..2c3533d6f 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -917,6 +917,10 @@ GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server,
917 "Expected %u bytes for message of type %u, got %u\n", 917 "Expected %u bytes for message of type %u, got %u\n",
918 mh->expected_size, mh->type, size); 918 mh->expected_size, mh->type, size);
919 GNUNET_break_op (0); 919 GNUNET_break_op (0);
920#else
921 LOG (GNUNET_ERROR_TYPE_DEBUG,
922 "Expected %u bytes for message of type %u, got %u\n",
923 mh->expected_size, mh->type, size);
920#endif 924#endif
921 return GNUNET_SYSERR; 925 return GNUNET_SYSERR;
922 } 926 }