fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 31 Oct 2011 11:51:02 +0000 (11:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 31 Oct 2011 11:51:02 +0000 (11:51 +0000)
src/vpn/gnunet-daemon-vpn.c

index 33a87cf9bef79f4015a0eee82f88f6ae073ae2c8..d802fa33868ecbe15a06385ddf541eb1d7d39420 100644 (file)
@@ -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,