gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r32678 - gnunet/src/mesh
Date: Mon, 17 Mar 2014 12:02:57 +0100

Author: bartpolot
Date: 2014-03-17 12:02:57 +0100 (Mon, 17 Mar 2014)
New Revision: 32678

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- log

Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-03-17 11:02:56 UTC 
(rev 32677)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-03-17 11:02:57 UTC 
(rev 32678)
@@ -360,7 +360,7 @@
 
 
 /**
- * Get string description for tunnel state.
+ * Get string description for tunnel state. Reentrant.
  *
  * @param s Tunnel state.
  *
@@ -424,16 +424,13 @@
                          enum MeshConnectionState state)
 {
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-              "Connection %s state was %s\n",
-              GMC_2s (c), GMC_state2s (c->state));
+       "Connection %s state %s -> %s\n",
+       GMC_2s (c), GMC_state2s (c->state), GMC_state2s (state));
   if (MESH_CONNECTION_DESTROYED == c->state)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "state not changing anymore\n");
     return;
   }
-  LOG (GNUNET_ERROR_TYPE_DEBUG,
-              "Connection %s state is now %s\n",
-              GMC_2s (c), GMC_state2s (state));
   c->state = state;
   if (MESH_CONNECTION_READY == state)
     c->create_retry = 1;




reply via email to

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