aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-23 10:18:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-23 10:18:47 +0000
commit6ac9e22ffc87f225a7208d43c6e24c272ce1a388 (patch)
treebd2459bb2bc95f0afaed7c051f3cac9b43c73e9d /src/transport
parent97636ddef6d81caf222ff34076b157d3cafb8042 (diff)
downloadgnunet-6ac9e22ffc87f225a7208d43c6e24c272ce1a388.tar.gz
gnunet-6ac9e22ffc87f225a7208d43c6e24c272ce1a388.zip
fix to use correct queue
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_udp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 89c412b08..8b557c52c 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -1552,12 +1552,17 @@ udp_select_send (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *sock)
1552 } 1552 }
1553 1553
1554 if (sock == plugin->sockv4) 1554 if (sock == plugin->sockv4)
1555 {
1555 GNUNET_CONTAINER_DLL_remove(plugin->ipv4_queue_head, plugin->ipv4_queue_tail, udpw); 1556 GNUNET_CONTAINER_DLL_remove(plugin->ipv4_queue_head, plugin->ipv4_queue_tail, udpw);
1557 GNUNET_free (udpw);
1558 udpw = plugin->ipv4_queue_head;
1559 }
1556 else if (sock == plugin->sockv6) 1560 else if (sock == plugin->sockv6)
1561 {
1557 GNUNET_CONTAINER_DLL_remove(plugin->ipv6_queue_head, plugin->ipv6_queue_tail, udpw); 1562 GNUNET_CONTAINER_DLL_remove(plugin->ipv6_queue_head, plugin->ipv6_queue_tail, udpw);
1558 1563 GNUNET_free (udpw);
1559 GNUNET_free (udpw); 1564 udpw = plugin->ipv6_queue_head;
1560 udpw = plugin->ipv4_queue_head; 1565 }
1561 } 1566 }
1562 else 1567 else
1563 { 1568 {