diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-12 09:42:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-12 09:42:47 +0000 |
commit | 5d37496ea5a8be03ba57abc40beb4ca85a57fd05 (patch) | |
tree | 33ecb3bcb304b9f7989b3845970fb0f5fba51f2d /src/transport/plugin_transport_udp.c | |
parent | ba418da4d3730401002f7d580015f2dca125fb2f (diff) | |
download | gnunet-5d37496ea5a8be03ba57abc40beb4ca85a57fd05.tar.gz gnunet-5d37496ea5a8be03ba57abc40beb4ca85a57fd05.zip |
-fix
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1150 | static void | 1150 | static void |
1151 | dequeue (struct Plugin *plugin, struct UDP_MessageWrapper * udpw) | 1151 | dequeue (struct Plugin *plugin, struct UDP_MessageWrapper * udpw) |
1152 | { | 1152 | { |
1153 | if (plugin->bytes_in_buffer - udpw->msg_size < 0) | 1153 | if (plugin->bytes_in_buffer < udpw->msg_size) |
1154 | GNUNET_break (0); | 1154 | GNUNET_break (0); |
1155 | else | 1155 | else |
1156 | { | 1156 | { |