From 2426176ae7761fc909d85377a7f39b67c9d776c9 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 10 Jun 2013 13:10:24 +0000 Subject: [PATCH] - remove unfounded ERROR message --- src/mesh/gnunet-service-mesh-new.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c index 40fa7b8a7..3e64003f9 100644 --- a/src/mesh/gnunet-service-mesh-new.c +++ b/src/mesh/gnunet-service-mesh-new.c @@ -2239,6 +2239,8 @@ peer_cancel_queues (GNUNET_PEER_Id neighbor, struct MeshTunnel *t) struct MeshPeerQueue *pq; struct MeshPeerQueue *next; + if (0 == neighbor) + return; /* Was local peer, 0'ed in tunnel_destroy_iterator */ peer_info = peer_get_short (neighbor); for (pq = peer_info->queue_head; NULL != pq; pq = next) { -- 2.25.1