summaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/mesh_api_new.c')
-rw-r--r--src/mesh/mesh_api_new.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c
index e466bca94..c9c71405c 100644
--- a/src/mesh/mesh_api_new.c
+++ b/src/mesh/mesh_api_new.c
@@ -45,6 +45,7 @@ extern "C"
#include "gnunet_common.h"
#include "gnunet_client_lib.h"
#include "gnunet_util_lib.h"
+#include "gnunet_peer_lib.h"
#include "gnunet_mesh_service_new.h"
#include "mesh.h"
@@ -121,11 +122,6 @@ struct GNUNET_MESH_Tunnel {
struct GNUNET_MESH_Tunnel *prev;
/**
- * Owner of the tunnel, either local or remote
- */
- GNUNET_PEER_Id owner;
-
- /**
* Local ID of the tunnel
*/
MESH_TunnelID tid;
@@ -341,6 +337,7 @@ process_tunnel_create(struct GNUNET_MESH_Handle *h,
t->disconnect_handler = NULL;
t->mesh = h;
t->tid = tid;
+
return;
}