gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30891 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r30891 - gnunet/src/mesh
Date: Wed, 27 Nov 2013 05:44:27 +0100

Author: bartpolot
Date: 2013-11-27 05:44:27 +0100 (Wed, 27 Nov 2013)
New Revision: 30891

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- dont update tunnel c-state on data


Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-11-27 04:28:33 UTC 
(rev 30890)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-11-27 04:44:27 UTC 
(rev 30891)
@@ -628,6 +628,7 @@
 
   room = GMT_get_connections_buffer (t);
   LOG (GNUNET_ERROR_TYPE_DEBUG, "  buffer space: %u\n", room);
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "  tq head: %p\n", t->tq_head);
   for (tq = t->tq_head; NULL != tq && room > 0; tq = next)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, " data on channel %s\n", GMCH_2s (tq->ch));
@@ -964,7 +965,6 @@
              int fwd)
 {
   struct MeshChannel *ch;
-  uint16_t type;
   size_t size;
 
   /* Check size */
@@ -976,9 +976,6 @@
     GNUNET_break (0);
     return;
   }
-  type = ntohs (msg->header.type);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "got a %s message\n",
-              GNUNET_MESH_DEBUG_M2S (type));
   LOG (GNUNET_ERROR_TYPE_DEBUG, " payload of type %s\n",
               GNUNET_MESH_DEBUG_M2S (ntohs (msg[1].header.type)));
 
@@ -993,7 +990,6 @@
     return;
   }
 
-  GMT_change_cstate (t, MESH_TUNNEL3_READY);
   GMCH_handle_data (ch, msg, fwd);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]