X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore_api.c;h=66df134fb1acaf7c5ace5f77f1f02c79a954bf14;hb=b0c7119fa2f43fe1b5978651152974359de5a5d2;hp=a279874d7a10c3893947f277fcd39b082c3bb457;hpb=af40dca44fdc17cf8e4f3486b411b2da0d9d5462;p=oweals%2Fgnunet.git diff --git a/src/core/core_api.c b/src/core/core_api.c index a279874d7..66df134fb 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -984,8 +984,8 @@ main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg) if ((mh->expected_size != ntohs (em->size)) && (mh->expected_size != 0)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected message size for message of type %u\n", - mh->type); + "Unexpected message size %u for message of type %u from peer `%4s'\n", + htons (em->size), mh->type, GNUNET_i2s (&ntm->peer)); GNUNET_break_op (0); continue; } @@ -1424,8 +1424,8 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, int cork, } /* Order entries by deadline, but SKIP 'HEAD' (as we may have transmitted - that request already or might even already be approved to transmit that - message to core) */ + * that request already or might even already be approved to transmit that + * message to core) */ pos = pr->pending_head; if (pos != NULL) pos = pos->next; /* skip head */