]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Fix a comment in auto_decoder.c.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 8 Nov 2022 12:00:58 +0000 (14:00 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 11 Nov 2022 11:41:43 +0000 (13:41 +0200)
src/liblzma/common/auto_decoder.c

index 6895c7ccf7b55c21adf0cdc4492944321112c37a..f58ab595ee3c74378b9911a38cadcfc5023afab9 100644 (file)
@@ -86,8 +86,8 @@ auto_decode(void *coder_ptr, const lzma_allocator *allocator,
        // Fall through
 
        case SEQ_FINISH:
-               // When LZMA_DECODE_CONCATENATED was used and we were decoding
-               // LZMA_Alone file, we need to check check that there is no
+               // When LZMA_CONCATENATED was used and we were decoding
+               // a LZMA_Alone file, we need to check that there is no
                // trailing garbage and wait for LZMA_FINISH.
                if (*in_pos < in_size)
                        return LZMA_DATA_ERROR;