projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c2182
)
Bug: fill in the peer-field of the tunnel
author
Philipp Tölke
<toelke@in.tum.de>
Tue, 2 Aug 2011 07:34:48 +0000
(07:34 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Tue, 2 Aug 2011 07:34:48 +0000
(07:34 +0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index 5db0229ef16e938d805cfee75b052eb44c2dafa0..24ee4c5ae72f5494defe98e88e8c1064f53e6396 100644
(file)
--- 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);