From f980d0ca87334ef66274cff36d8a14db49964c32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Tue, 2 Aug 2011 07:34:48 +0000 Subject: [PATCH] Bug: fill in the peer-field of the tunnel --- src/mesh/mesh_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 5db0229ef..24ee4c5ae 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -394,6 +394,7 @@ receive_hello (void *cls, tail, handle->established_tunnels. tail, tunnel); + memcpy(&tunnel->tunnel.peer, other, sizeof(struct GNUNET_PeerIdentity)); tunnel->tunnel.connect_handler (tunnel->tunnel.handler_cls, &tunnel->tunnel.peer, atsi); GNUNET_SCHEDULER_add_now (send_end_connect, tunnel); -- 2.25.1