From 550311ae6cb0a4b72a15f5e3d3630deccc2fe0dc Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 14 Jun 2013 16:01:43 +0000 Subject: [PATCH] - fix --- 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 index 1e37a2a89..fc5cff577 100644 --- 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 -- 2.25.1