em = (const struct GNUNET_MessageHeader *) &ntm[1];
#if DEBUG_CORE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Received message of type %u from peer `%4s'\n",
- ntohs (em->type), GNUNET_i2s (&ntm->peer));
+ "Received message of type %u and size %u from peer `%4s'\n",
+ ntohs (em->type),
+ ntohs (em->size),
+ GNUNET_i2s (&ntm->peer));
#endif
if ((GNUNET_NO == h->inbound_hdr_only) &&
(msize != ntohs (em->size) + sizeof (struct NotifyTrafficMessage)))
type = ntohs (m->type);
#if DEBUG_CORE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Received encapsulated message of type %u from `%4s'\n",
+ "Received encapsulated message of type %u and size %u from `%4s'\n",
(unsigned int) type,
+ ntohs (m->size),
GNUNET_i2s (&sender->peer));
#endif
GNUNET_snprintf (buf,
#if DEBUG_CORE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Neighbour quota update calculation running for peer `%4s'\n"
+ "Neighbour quota update calculation running for peer `%4s'\n",
GNUNET_i2s (&n->peer));
#endif
n->quota_update_task = GNUNET_SCHEDULER_NO_TASK;