- cleanup
authorBart Polot <bart@net.in.tum.de>
Wed, 9 Oct 2013 01:08:49 +0000 (01:08 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 9 Oct 2013 01:08:49 +0000 (01:08 +0000)
src/mesh/gnunet-service-mesh_connection.c
src/mesh/gnunet-service-mesh_connection.h

index 77457fcb778a8366f4f038e9aaca872845d8fd84..0d7dfc5f063a28a0f825fee69933346c98d7cd8e 100644 (file)
@@ -471,10 +471,10 @@ connection_change_state (struct MeshConnection* c,
 {
   LOG (GNUNET_ERROR_TYPE_DEBUG,
               "Connection %s state was %s\n",
-              GNUNET_h2s (&c->id), GNUNET_MESH_DEBUG_CS2S (c->state));
+              GNUNET_h2s (&c->id), GMC_state2s (c->state));
   LOG (GNUNET_ERROR_TYPE_DEBUG,
               "Connection %s state is now %s\n",
-              GNUNET_h2s (&c->id), GNUNET_MESH_DEBUG_CS2S (state));
+              GNUNET_h2s (&c->id), GMC_state2s (state));
   c->state = state;
 }
 
@@ -1831,13 +1831,6 @@ GMC_destroy (struct MeshConnection *c)
   GNUNET_free (c);
 }
 
-struct MeshConnection *
-GMC_next (struct MeshConnection *c)
-{
-  return c->next;
-}
-
-
 /**
  * Get the connection ID.
  *
index 638bda162c0fc33b134466d51f2e8c4cfc09cbca..c2d396969804fc691f58862986ae9047ece94834 100644 (file)
@@ -243,9 +243,6 @@ GMC_new (const struct GNUNET_HashCode *cid,
 void
 GMC_destroy (struct MeshConnection *c);
 
-struct MeshConnection *
-GMC_next (struct MeshConnection *c);
-
 /**
  * Get the connection ID.
  *