fix
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 24 Oct 2012 13:24:37 +0000 (13:24 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 24 Oct 2012 13:24:37 +0000 (13:24 +0000)
src/transport/plugin_transport_udp.c

index dfab260826e7e6b91477b482375ccfa9db002bf3..a15f8f4f4725672adb9d3cbbbc43cd7440feeaf2 100644 (file)
@@ -2257,7 +2257,7 @@ remove_timeout_messages_and_select (struct UDP_MessageWrapper *head,
       }
       if (sock == plugin->sockv4)
         udpw = plugin->ipv4_queue_head;
-      if (sock == plugin->sockv6)
+      else if (sock == plugin->sockv6)
         udpw = plugin->ipv6_queue_head;
       else
       {