diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-17 14:55:30 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-17 14:55:30 +0000 |
commit | 39f404410ad90df5f9a3d5ad7b144ebdbb9e01f0 (patch) | |
tree | aeaa852b0febe5c0069cef9efdf7ebd8d4b0353b /src/mesh | |
parent | 9eb7267ef8f98dbff65216567c18ff5dee3dac2e (diff) | |
download | gnunet-39f404410ad90df5f9a3d5ad7b144ebdbb9e01f0.tar.gz gnunet-39f404410ad90df5f9a3d5ad7b144ebdbb9e01f0.zip |
- fix conection message accounting
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
2195 | void | 2195 | void |
2196 | GMC_send_create (struct MeshConnection *connection) | 2196 | GMC_send_create (struct MeshConnection *connection) |
2197 | { | 2197 | { |
2198 | enum MeshTunnel3State state; | 2198 | enum MeshTunnel3State state; |
2199 | size_t size; | 2199 | size_t size; |
2200 | 2200 | ||
2201 | size = sizeof (struct GNUNET_MESH_ConnectionCreate); | 2201 | size = sizeof (struct GNUNET_MESH_ConnectionCreate); |
@@ -2210,6 +2210,7 @@ enum MeshTunnel3State state; | |||
2210 | GMT_change_state (connection->t, MESH_TUNNEL3_WAITING); | 2210 | GMT_change_state (connection->t, MESH_TUNNEL3_WAITING); |
2211 | if (MESH_CONNECTION_NEW == connection->state) | 2211 | if (MESH_CONNECTION_NEW == connection->state) |
2212 | connection_change_state (connection, MESH_CONNECTION_SENT); | 2212 | connection_change_state (connection, MESH_CONNECTION_SENT); |
2213 | connection->fwd_fc.queue_n++; | ||
2213 | } | 2214 | } |
2214 | 2215 | ||
2215 | 2216 | ||