From 851a84b96ab44bb1ad49443942e5934ca387eced Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 9 Oct 2013 01:08:49 +0000 Subject: [PATCH] - cleanup --- src/mesh/gnunet-service-mesh_connection.c | 11 ++--------- src/mesh/gnunet-service-mesh_connection.h | 3 --- 2 files changed, 2 insertions(+), 12 deletions(-) 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. * -- 2.25.1