From e4f277f25195cc9a55ac183365666e0e3003d4c1 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 16 Aug 2012 14:00:01 +0000 Subject: [PATCH] - debug --- src/mesh/mesh_api.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 9f0dc0856..d63ad315d 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -684,6 +684,9 @@ send_ack (struct GNUNET_MESH_Handle *h, struct GNUNET_MESH_Tunnel *t) { struct GNUNET_MESH_LocalAck msg; + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Sending ACK on tunnel %X: %u\n", + t->tid, t->pid + 1); msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_ACK); msg.header.size = htons (sizeof (msg)); msg.tunnel_id = htonl (t->tid); @@ -1097,6 +1100,7 @@ process_incoming_data (struct GNUNET_MESH_Handle *h, if (NULL == t) { /* Tunnel was ignored, probably service didn't get it yet */ + LOG (GNUNET_ERROR_TYPE_DEBUG, " ignored!\n"); return GNUNET_YES; } type = ntohs (payload->type); -- 2.25.1