commit 550311ae6cb0a4b72a15f5e3d3630deccc2fe0dc parent 52e5e1838efd2585917a241ebf81c8c768f4bd60 Author: Bart Polot <bart@net.in.tum.de> Date: Fri, 14 Jun 2013 16:01:43 +0000 - fix Diffstat:
| M | src/mesh/gnunet-service-mesh-new.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c @@ -2693,8 +2693,8 @@ queue_destroy (struct MeshPeerQueue *queue, int clear_cls) queue); /* Delete from appropriate fc in the tunnel */ - if (queue->peer->id == queue->tunnel->next_hop) - fc = &queue->tunnel->next_fc; + if (queue->peer->id == queue->tunnel->prev_hop) + fc = &queue->tunnel->prev_fc; else if (queue->peer->id == queue->tunnel->next_hop) fc = &queue->tunnel->next_fc; else