- fix conection message accounting
authorBart Polot <bart@net.in.tum.de>
Thu, 17 Oct 2013 14:55:30 +0000 (14:55 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 17 Oct 2013 14:55:30 +0000 (14:55 +0000)
src/mesh/gnunet-service-mesh_connection.c

index 8a83adc51a44afed7a3eed60d4f7a43f75a739fe..abc04e8a2728f6290af607ab03b023dd221403b9 100644 (file)
@@ -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++;
 }