aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Johnson <ComputerDruid@gmail.com>2020-07-20 22:20:43 -0700
committerMichael Brown <mcb30@ipxe.org>2020-07-21 15:59:04 +0100
commit8bc85ec6fa3562e141f5d09a8788aca92877e784 (patch)
treeb6874bce4a985f2f5a63f3d2f3d53d6c441f54ca
parent8d243e65c3ef61353b5284ec4c0e3e9520b43eb6 (diff)
downloadipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.zip
ipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.tar.gz
ipxe-8bc85ec6fa3562e141f5d09a8788aca92877e784.tar.bz2
[deflate] Fix typo in comment describing length codes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/crypto/deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/deflate.c b/src/crypto/deflate.c
index e1c87d5..7ad39ec 100644
--- a/src/crypto/deflate.c
+++ b/src/crypto/deflate.c
@@ -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];