From: Bart Polot Date: Wed, 9 Oct 2013 01:08:49 +0000 (+0000) Subject: - cleanup X-Git-Tag: initial-import-from-subversion-38251~6684 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=851a84b96ab44bb1ad49443942e5934ca387eced;hp=d1106ec22a4f714484ce964b24b4f10b397c720e;p=oweals%2Fgnunet.git - cleanup --- diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 77457fcb7..0d7dfc5f0 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -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. * diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h index 638bda162..c2d396969 100644 --- a/src/mesh/gnunet-service-mesh_connection.h +++ b/src/mesh/gnunet-service-mesh_connection.h @@ -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. *