From: Sree Harsha Totakura Date: Fri, 23 Mar 2012 11:15:14 +0000 (+0000) Subject: bugfix X-Git-Tag: initial-import-from-subversion-38251~14129 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6618d37e8f890b342629fa3379e12c0060f2d991;p=oweals%2Fgnunet.git bugfix --- 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;