aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-10-11 12:26:21 +0000
committerBart Polot <bart@net.in.tum.de>2013-10-11 12:26:21 +0000
commit0a9996a9cfd0cddaa3a6fb0b15ec4b59fccee8e1 (patch)
tree0d59974cacf8dbf693e03a86da1de5c323470a1e /src/mesh
parent5b48f06a02b221f2263d3d531b70367209619e24 (diff)
downloadgnunet-0a9996a9cfd0cddaa3a6fb0b15ec4b59fccee8e1.tar.gz
gnunet-0a9996a9cfd0cddaa3a6fb0b15ec4b59fccee8e1.zip
- use new API functions
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 0c03b2da4..525bca61a 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -1097,7 +1097,7 @@ GMC_handle_confirm (void *cls, const struct GNUNET_PeerIdentity *peer,
1097 1097
1098 LOG (GNUNET_ERROR_TYPE_DEBUG, " via peer %s\n", 1098 LOG (GNUNET_ERROR_TYPE_DEBUG, " via peer %s\n",
1099 GNUNET_i2s (peer)); 1099 GNUNET_i2s (peer));
1100 pi = peer_get (peer); 1100 pi = GMP_get (peer);
1101 if (get_next_hop (c) == pi) 1101 if (get_next_hop (c) == pi)
1102 { 1102 {
1103 LOG (GNUNET_ERROR_TYPE_DEBUG, " SYNACK\n"); 1103 LOG (GNUNET_ERROR_TYPE_DEBUG, " SYNACK\n");
@@ -1122,7 +1122,7 @@ GMC_handle_confirm (void *cls, const struct GNUNET_PeerIdentity *peer,
1122 p = c->path; 1122 p = c->path;
1123 if (NULL != p) 1123 if (NULL != p)
1124 { 1124 {
1125 path_add_to_peers (p, GNUNET_YES); 1125 GMP_add_path_to_all (p, GNUNET_YES);
1126 } 1126 }
1127 else 1127 else
1128 { 1128 {
@@ -1144,7 +1144,7 @@ GMC_handle_confirm (void *cls, const struct GNUNET_PeerIdentity *peer,
1144 if (GMC_is_terminal (c, GNUNET_YES)) 1144 if (GMC_is_terminal (c, GNUNET_YES))
1145 { 1145 {
1146 LOG (GNUNET_ERROR_TYPE_DEBUG, " Connection ACK for us!\n"); 1146 LOG (GNUNET_ERROR_TYPE_DEBUG, " Connection ACK for us!\n");
1147 GMC_change_state (c, MESH_CONNECTION_READY); 1147 connection_change_state (c, MESH_CONNECTION_READY);
1148 GMT_change_state (c->t, MESH_TUNNEL3_READY); 1148 GMT_change_state (c->t, MESH_TUNNEL3_READY);
1149 GMT_send_queued_data (c->t, GNUNET_NO); 1149 GMT_send_queued_data (c->t, GNUNET_NO);
1150 return GNUNET_OK; 1150 return GNUNET_OK;
@@ -1364,7 +1364,7 @@ handle_mesh_encrypted (const struct GNUNET_PeerIdentity *peer,
1364 } 1364 }
1365 GNUNET_STATISTICS_update (stats, "# messages forwarded", 1, GNUNET_NO); 1365 GNUNET_STATISTICS_update (stats, "# messages forwarded", 1, GNUNET_NO);
1366 1366
1367 send_prebuilt_message_connection (&msg->header, c, NULL, fwd); 1367 GMC_send_prebuilt_message (&msg->header, c, NULL, fwd);
1368 1368
1369 return GNUNET_OK; 1369 return GNUNET_OK;
1370} 1370}