- doc
authorBart Polot <bart@net.in.tum.de>
Mon, 27 Apr 2015 19:16:02 +0000 (19:16 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 27 Apr 2015 19:16:02 +0000 (19:16 +0000)
src/cadet/gnunet-service-cadet_channel.c

index e529f8ecb254ff9e3023d46d717e78a456e3c94e..a7a505ba49f0d32ddd6647880f735332a23ee852 100644 (file)
@@ -1070,7 +1070,7 @@ channel_rel_free_sent (struct CadetChannelReliability *rel,
       LOG (GNUNET_ERROR_TYPE_DEBUG, " next copy %u\n", copy->mid);
       i += copy->mid - target - 1;   /* MID: 90, t = 85, i += 4 (i++ later) */
       mask = (0x1LL << (i + 1)) - 1; /* Mask = i-th bit and all before */
-      bitfield &= ~mask;
+      bitfield &= ~mask;             /* Clear all bits up to MID - 1 */
       continue;
     }