From: Bart Polot Date: Thu, 17 Oct 2013 14:55:30 +0000 (+0000) Subject: - fix conection message accounting X-Git-Tag: initial-import-from-subversion-38251~6483 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=39f404410ad90df5f9a3d5ad7b144ebdbb9e01f0;p=oweals%2Fgnunet.git - fix conection message accounting --- diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 8a83adc51..abc04e8a2 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -2195,7 +2195,7 @@ GMC_send_prebuilt_message (const struct GNUNET_MessageHeader *message, void GMC_send_create (struct MeshConnection *connection) { -enum MeshTunnel3State state; + enum MeshTunnel3State state; size_t size; size = sizeof (struct GNUNET_MESH_ConnectionCreate); @@ -2210,6 +2210,7 @@ enum MeshTunnel3State state; GMT_change_state (connection->t, MESH_TUNNEL3_WAITING); if (MESH_CONNECTION_NEW == connection->state) connection_change_state (connection, MESH_CONNECTION_SENT); + connection->fwd_fc.queue_n++; }