diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-08-02 07:34:48 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-08-02 07:34:48 +0000 |
commit | f980d0ca87334ef66274cff36d8a14db49964c32 (patch) | |
tree | cd0cf79b108df70568d2fa4daaf2e10a4b8dfe0e /src/mesh/mesh_api.c | |
parent | b8c2182a28944dcbbbe2a6eeb22a376724680b4b (diff) | |
download | gnunet-f980d0ca87334ef66274cff36d8a14db49964c32.tar.gz gnunet-f980d0ca87334ef66274cff36d8a14db49964c32.zip |
Bug: fill in the peer-field of the tunnel
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r-- | src/mesh/mesh_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
394 | tail, | 394 | tail, |
395 | handle->established_tunnels. | 395 | handle->established_tunnels. |
396 | tail, tunnel); | 396 | tail, tunnel); |
397 | memcpy(&tunnel->tunnel.peer, other, sizeof(struct GNUNET_PeerIdentity)); | ||
397 | tunnel->tunnel.connect_handler (tunnel->tunnel.handler_cls, | 398 | tunnel->tunnel.connect_handler (tunnel->tunnel.handler_cls, |
398 | &tunnel->tunnel.peer, atsi); | 399 | &tunnel->tunnel.peer, atsi); |
399 | GNUNET_SCHEDULER_add_now (send_end_connect, tunnel); | 400 | GNUNET_SCHEDULER_add_now (send_end_connect, tunnel); |