diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-01-12 14:02:33 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-01-12 14:02:33 +0000 |
commit | 3bb064f4d3259505efabf867750c03aa30370fb0 (patch) | |
tree | e04d8df80bb094508103f57278d676711aa5d8e2 /src/vpn/gnunet-daemon-vpn-helper.c | |
parent | 14839ad22bf671382d464c493d82e6ee0c629c07 (diff) | |
download | gnunet-3bb064f4d3259505efabf867750c03aa30370fb0.tar.gz gnunet-3bb064f4d3259505efabf867750c03aa30370fb0.zip |
fix usage of mesh_api
assert invariant in core_api
fix mesh_api
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn-helper.c')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn-helper.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-helper.c b/src/vpn/gnunet-daemon-vpn-helper.c index 880a53b81..468658c48 100644 --- a/src/vpn/gnunet-daemon-vpn-helper.c +++ b/src/vpn/gnunet-daemon-vpn-helper.c | |||
@@ -263,8 +263,10 @@ message_token(void *cls, | |||
263 | me->tunnel = *cls; | 263 | me->tunnel = *cls; |
264 | } | 264 | } |
265 | else | 265 | else |
266 | *cls = me->tunnel; | 266 | { |
267 | //FIXME: somehow call send_udp_to_peer | 267 | *cls = me->tunnel; |
268 | send_udp_to_peer(cls, (struct GNUNET_PeerIdentity*)1, NULL); | ||
269 | } | ||
268 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Queued to send to peer %x\n", *((unsigned int*)&me->desc.peer)); | 270 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Queued to send to peer %x\n", *((unsigned int*)&me->desc.peer)); |
269 | } | 271 | } |
270 | } | 272 | } |