[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30987 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30987 - gnunet/src/mesh |
Date: |
Sat, 30 Nov 2013 02:17:20 +0100 |
Author: bartpolot
Date: 2013-11-30 02:17:20 +0100 (Sat, 30 Nov 2013)
New Revision: 30987
Modified:
gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- code cleanup
Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-11-30 00:03:40 UTC
(rev 30986)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-11-30 01:17:20 UTC
(rev 30987)
@@ -2699,13 +2699,16 @@
size = sizeof (struct GNUNET_MESH_ConnectionCreate);
size += connection->path->length * sizeof (struct GNUNET_PeerIdentity);
+
LOG (GNUNET_ERROR_TYPE_DEBUG, "Send connection create\n");
+ LOG (GNUNET_ERROR_TYPE_DEBUG, " C_P+ %p %u (create)\n",
+ connection, connection->pending_messages);
+ connection->pending_messages++;
+
GMP_queue_add (get_next_hop (connection), NULL,
GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE,
size, connection, GNUNET_YES, &message_sent, NULL);
- LOG (GNUNET_ERROR_TYPE_DEBUG, " C_P+ %p %u (create)\n",
- connection, connection->pending_messages);
- connection->pending_messages++;
+
state = GMT_get_cstate (connection->t);
if (MESH_TUNNEL3_SEARCHING == state || MESH_TUNNEL3_NEW == state)
GMT_change_cstate (connection->t, MESH_TUNNEL3_WAITING);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30987 - gnunet/src/mesh,
gnunet <=