aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r--src/core/core_api.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 6055b99c1..67f17352d 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -541,11 +541,12 @@ handle_notify_inbound (void *cls,
541 uint16_t et; 541 uint16_t et;
542 542
543 GNUNET_break (GNUNET_NO == h->currently_down); 543 GNUNET_break (GNUNET_NO == h->currently_down);
544 LOG (GNUNET_ERROR_TYPE_DEBUG,
545 "Received inbound message from `%s'.\n",
546 GNUNET_i2s (&ntm->peer));
547 em = (const struct GNUNET_MessageHeader *) &ntm[1]; 544 em = (const struct GNUNET_MessageHeader *) &ntm[1];
548 et = ntohs (em->type); 545 et = ntohs (em->type);
546 LOG (GNUNET_ERROR_TYPE_DEBUG,
547 "Received inbound message of type %d from `%s'.\n",
548 (int) et,
549 GNUNET_i2s (&ntm->peer));
549 for (unsigned int hpos = 0; NULL != h->handlers[hpos].callback; hpos++) 550 for (unsigned int hpos = 0; NULL != h->handlers[hpos].callback; hpos++)
550 { 551 {
551 const struct GNUNET_CORE_MessageHandler *mh; 552 const struct GNUNET_CORE_MessageHandler *mh;