diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-24 12:27:44 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-24 12:27:44 +0000 |
commit | a03f3a1884c6f423cde604ba5b0bba86f43a7113 (patch) | |
tree | 0a8e1ddde30e4e6906ee9f16f99d43f6022d8054 /src/transport/plugin_transport_udp.c | |
parent | 3bbb7d09f0f2d5f07a3ad7f90b179ddc6831f9a3 (diff) | |
download | gnunet-a03f3a1884c6f423cde604ba5b0bba86f43a7113.tar.gz gnunet-a03f3a1884c6f423cde604ba5b0bba86f43a7113.zip |
- coverity
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 41eab290b..b0e1b5ebe 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -2256,6 +2256,11 @@ remove_timeout_messages_and_select (struct UDP_MessageWrapper *head, | |||
2256 | udpw = plugin->ipv4_queue_head; | 2256 | udpw = plugin->ipv4_queue_head; |
2257 | if (sock == plugin->sockv6) | 2257 | if (sock == plugin->sockv6) |
2258 | udpw = plugin->ipv6_queue_head; | 2258 | udpw = plugin->ipv6_queue_head; |
2259 | else | ||
2260 | { | ||
2261 | GNUNET_break (0); /* should never happen */ | ||
2262 | updw = NULL; | ||
2263 | } | ||
2259 | GNUNET_STATISTICS_update (plugin->env->stats, | 2264 | GNUNET_STATISTICS_update (plugin->env->stats, |
2260 | "# messages dismissed due to timeout", | 2265 | "# messages dismissed due to timeout", |
2261 | 1, GNUNET_NO); | 2266 | 1, GNUNET_NO); |