From: Christian Grothoff Date: Mon, 31 Oct 2011 11:51:02 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=282010b81a01eda94ceec27eb7cd0eb1aa1d00c0;p=oweals%2Fgnunet.git fix --- diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index 33a87cf9b..d802fa338 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c @@ -303,10 +303,8 @@ send_pkt_to_peer_notify_callback (void *cls, size_t size, void *buf) if (NULL != ts->head) { struct tunnel_notify_queue *element = ts->head; - struct tunnel_notify_queue *head = ts->head; - struct tunnel_notify_queue *tail = ts->tail; - GNUNET_CONTAINER_DLL_remove (head, tail, element); + GNUNET_CONTAINER_DLL_remove (ts->head, ts->tail, element); ts->th = GNUNET_MESH_notify_transmit_ready (*tunnel,