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

index a6112137d6d52ce68ea4ddb626f7d869e9895118..c0a6328049918546ed2ad695f4539a03dcd4ef3c 100644 (file)
@@ -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,