From: Philipp Tölke Date: Tue, 2 Aug 2011 07:34:48 +0000 (+0000) Subject: Bug: fill in the peer-field of the tunnel X-Git-Tag: initial-import-from-subversion-38251~17529 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f980d0ca87334ef66274cff36d8a14db49964c32;p=oweals%2Fgnunet.git Bug: fill in the peer-field of the tunnel --- 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);