aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-24 12:45:59 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-24 12:45:59 +0000
commit13a6d7c63e51d5a98b05a308786b08dd59709afb (patch)
tree151b7c2c99f128bd37798d31469c012ff2e6f590 /src/core
parentf63aa2647235fb284050799ce3a6de64dac13808 (diff)
downloadgnunet-13a6d7c63e51d5a98b05a308786b08dd59709afb.tar.gz
gnunet-13a6d7c63e51d5a98b05a308786b08dd59709afb.zip
better error message
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gnunet-service-core_neighbours.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index 5014298bf..0e292fbd1 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -427,8 +427,10 @@ handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
427 break; 427 break;
428 default: 428 default:
429 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 429 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
430 _("Unsupported message of type %u received.\n"), 430 _("Unsupported message of type %u (%u bytes) received from peer `%s'\n"),
431 (unsigned int) type); 431 (unsigned int) type,
432 (unsigned int) ntohs (message->size),
433 GNUNET_i2s (peer));
432 return; 434 return;
433 } 435 }
434} 436}