From: Bart Polot Date: Thu, 16 Aug 2012 14:00:01 +0000 (+0000) Subject: - debug X-Git-Tag: initial-import-from-subversion-38251~12189 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4f277f25195cc9a55ac183365666e0e3003d4c1;p=oweals%2Fgnunet.git - debug --- 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);