]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[deflate] Fix typo in comment describing length codes
authorDaniel Johnson <ComputerDruid@gmail.com>
Tue, 21 Jul 2020 05:20:43 +0000 (22:20 -0700)
committerMichael Brown <mcb30@ipxe.org>
Tue, 21 Jul 2020 14:59:04 +0000 (15:59 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/deflate.c

index e1c87d5fe184f2a542ee5883462027dd6153dff0..7ad39ec1b9fbad84e62ed00ffc3db9e2774ec7a4 100644 (file)
@@ -56,7 +56,7 @@ static uint8_t deflate_reverse[256];
  * does not fit the pattern (it represents a length of 258; following
  * the pattern from the earlier codes would give a length of 259), and
  * has no extra bits.  Codes 286-287 are invalid, but can occur.  We
- * treat any code greater than 284 as meaning "length 285, no extra
+ * treat any code greater than 284 as meaning "length 258, no extra
  * bits".
  */
 static uint8_t deflate_litlen_base[28];