From 5d37496ea5a8be03ba57abc40beb4ca85a57fd05 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 12 Dec 2012 09:42:47 +0000 Subject: -fix --- src/transport/plugin_transport_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/plugin_transport_udp.c') diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 30fe1f1ea..c57ec98e1 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1150,7 +1150,7 @@ free_session (struct Session *s) static void dequeue (struct Plugin *plugin, struct UDP_MessageWrapper * udpw) { - if (plugin->bytes_in_buffer - udpw->msg_size < 0) + if (plugin->bytes_in_buffer < udpw->msg_size) GNUNET_break (0); else { -- cgit v1.2.3