aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index fc91801ef..230d5bbbf 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -1722,6 +1722,10 @@ mesh_mq_ntr (void *cls, size_t size,
1722 const struct GNUNET_MessageHeader *msg = GNUNET_MQ_impl_current (mq); 1722 const struct GNUNET_MessageHeader *msg = GNUNET_MQ_impl_current (mq);
1723 uint16_t msize; 1723 uint16_t msize;
1724 1724
1725 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "mesh-mq",
1726 "writing message (t: %s, s: %s) to buffer\n",
1727 ntohs (msg->type), ntohs (msg->size));
1728
1725 state->th = NULL; 1729 state->th = NULL;
1726 if (NULL == buf) 1730 if (NULL == buf)
1727 { 1731 {
@@ -1752,6 +1756,9 @@ mesh_mq_send_impl (struct GNUNET_MQ_Handle *mq,
1752 1756
1753 GNUNET_assert (NULL == state->th); 1757 GNUNET_assert (NULL == state->th);
1754 GNUNET_MQ_impl_send_commit (mq); 1758 GNUNET_MQ_impl_send_commit (mq);
1759 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "mesh-mq",
1760 "calling ntr for message (t: %s, s: %s)\n",
1761 ntohs (msg->type), ntohs (msg->size));
1755 state->th = 1762 state->th =
1756 GNUNET_MESH_notify_transmit_ready (state->tunnel, 1763 GNUNET_MESH_notify_transmit_ready (state->tunnel,
1757 /* FIXME: add option for corking */ 1764 /* FIXME: add option for corking */