From dbaf62fe92cdd39b8c76c958d2ecf6054f3ca8ba Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 31 Oct 2011 11:51:40 +0000 Subject: [PATCH] fix --- src/vpn/gnunet-daemon-exit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c index a6112137d..c0a632804 100644 --- a/src/vpn/gnunet-daemon-exit.c +++ b/src/vpn/gnunet-daemon-exit.c @@ -280,10 +280,8 @@ send_udp_to_peer_notify_callback (void *cls, size_t size, void *buf) if (NULL != s->head) { struct tunnel_notify_queue *element = s->head; - struct tunnel_notify_queue *head = s->head; - struct tunnel_notify_queue *tail = s->tail; - GNUNET_CONTAINER_DLL_remove (head, tail, element); + GNUNET_CONTAINER_DLL_remove (s->head, s->tail, element); s->th = GNUNET_MESH_notify_transmit_ready (*tunnel, -- 2.25.1