From: Christian Grothoff Date: Mon, 31 Oct 2011 11:51:40 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16139 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbaf62fe92cdd39b8c76c958d2ecf6054f3ca8ba;p=oweals%2Fgnunet.git fix --- 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,