Skip to content

Commit

Permalink
lib: zstd: Fix comment typo
Browse files Browse the repository at this point in the history
The double `when' is duplicated in line 999, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: Nick Terrell <terrelln@fb.com>
  • Loading branch information
Xin Gao authored and Nick Terrell committed Oct 24, 2022
1 parent 7486f5c commit 19d7df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zstd/decompress/zstd_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ size_t ZSTD_decompress(void* dst, size_t dstCapacity, const void* src, size_t sr
size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; }

/*
* Similar to ZSTD_nextSrcSizeToDecompress(), but when when a block input can be streamed,
* Similar to ZSTD_nextSrcSizeToDecompress(), but when a block input can be streamed,
* we allow taking a partial block as the input. Currently only raw uncompressed blocks can
* be streamed.
*
Expand Down

0 comments on commit 19d7df9

Please sign in to comment.