From 6618d37e8f890b342629fa3379e12c0060f2d991 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 23 Mar 2012 11:15:14 +0000 Subject: [PATCH] bugfix --- src/stream/stream_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/stream_api.c b/src/stream/stream_api.c index b384e2524..f8222ff40 100644 --- a/src/stream/stream_api.c +++ b/src/stream/stream_api.c @@ -871,7 +871,7 @@ call_read_processor (void *cls, /* Determine upto which packet we can remove from the buffer */ for (packet = 0; packet < GNUNET_STREAM_ACK_BITMAP_BIT_LENGTH; packet++) { - if (socket->copy_offset = socket->receive_buffer_boundaries[packet]) + if (socket->copy_offset == socket->receive_buffer_boundaries[packet]) { packet++; break; } if (socket->copy_offset < socket->receive_buffer_boundaries[packet]) break; -- 2.25.1