diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-20 15:14:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-20 15:14:05 +0000 |
commit | 5663ca18885242fca4dd209898ffda9cbe675c58 (patch) | |
tree | eba7a80df59830aefd927a5a5383e47b353d5a09 /src/core/core_api.c | |
parent | 7e835e78aa82869715c9aee96a73ba40aad3f39f (diff) | |
download | gnunet-5663ca18885242fca4dd209898ffda9cbe675c58.tar.gz gnunet-5663ca18885242fca4dd209898ffda9cbe675c58.zip |
converting core service to new service API
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 7 |
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; |