gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19961 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r19961 - gnunet/src/transport
Date: Thu, 23 Feb 2012 11:18:47 +0100

Author: wachs
Date: 2012-02-23 11:18:47 +0100 (Thu, 23 Feb 2012)
New Revision: 19961

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
fix to use correct queue


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-02-22 22:52:06 UTC (rev 
19960)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-02-23 10:18:47 UTC (rev 
19961)
@@ -1552,12 +1552,17 @@
       }
 
       if (sock == plugin->sockv4)
+      {
         GNUNET_CONTAINER_DLL_remove(plugin->ipv4_queue_head, 
plugin->ipv4_queue_tail, udpw);
+        GNUNET_free (udpw);
+        udpw = plugin->ipv4_queue_head;
+      }
       else if (sock == plugin->sockv6)
+      {
         GNUNET_CONTAINER_DLL_remove(plugin->ipv6_queue_head, 
plugin->ipv6_queue_tail, udpw);
-
-      GNUNET_free (udpw);
-      udpw = plugin->ipv4_queue_head;
+        GNUNET_free (udpw);
+        udpw = plugin->ipv6_queue_head;
+      }
     }
     else
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]