bugfix
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 23 Mar 2012 11:15:14 +0000 (11:15 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 23 Mar 2012 11:15:14 +0000 (11:15 +0000)
src/stream/stream_api.c

index b384e2524bc365d7275152528a0212e2945bd909..f8222ff40476e8a0d877cb20cf1a3390b65ae381 100644 (file)
@@ -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;