projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- move path manipulation to API
[oweals/gnunet.git]
/
src
/
mesh
/
gnunet-service-mesh_connection.c
diff --git
a/src/mesh/gnunet-service-mesh_connection.c
b/src/mesh/gnunet-service-mesh_connection.c
index b399b135b01f70490f43d9266e5ea5b30c3b8a6c..9a58bf8437342f623bc7900adbf54aebf5fd4e41 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_connection.c
+++ b/
src/mesh/gnunet-service-mesh_connection.c
@@
-32,7
+32,6
@@
#include "mesh_path.h"
#include "mesh_protocol_enc.h"
#include "mesh_enc.h"
#include "mesh_path.h"
#include "mesh_protocol_enc.h"
#include "mesh_enc.h"
-
#include "gnunet-service-mesh_connection.h"
#include "gnunet-service-mesh_peer.h"
#include "gnunet-service-mesh_tunnel.h"
#include "gnunet-service-mesh_connection.h"
#include "gnunet-service-mesh_peer.h"
#include "gnunet-service-mesh_tunnel.h"
@@
-1078,7
+1077,7
@@
GMC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer,
if (c->own_pos == size - 1)
{
LOG (GNUNET_ERROR_TYPE_DEBUG, " It's for us!\n");
if (c->own_pos == size - 1)
{
LOG (GNUNET_ERROR_TYPE_DEBUG, " It's for us!\n");
-
peer
_add_path_to_origin (orig_peer, path, GNUNET_YES);
+
GMP
_add_path_to_origin (orig_peer, path, GNUNET_YES);
if (NULL == orig_peer->tunnel)
{
if (NULL == orig_peer->tunnel)
{
@@
-1100,8
+1099,8
@@
GMC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer,
{
/* It's for somebody else! Retransmit. */
LOG (GNUNET_ERROR_TYPE_DEBUG, " Retransmitting.\n");
{
/* It's for somebody else! Retransmit. */
LOG (GNUNET_ERROR_TYPE_DEBUG, " Retransmitting.\n");
-
peer
_add_path (dest_peer, path_duplicate (path), GNUNET_NO);
-
peer
_add_path_to_origin (orig_peer, path, GNUNET_NO);
+
GMP
_add_path (dest_peer, path_duplicate (path), GNUNET_NO);
+
GMP
_add_path_to_origin (orig_peer, path, GNUNET_NO);
GMC_send_prebuilt_message (message, c, NULL, GNUNET_YES);
}
return GNUNET_OK;
GMC_send_prebuilt_message (message, c, NULL, GNUNET_YES);
}
return GNUNET_OK;