aboutsummaryrefslogtreecommitdiff
path: root/src/lzma/list.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-09-13 12:10:43 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-09-13 12:10:43 +0300
commit13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 (patch)
treeaa9c137d41bd5d39fa8835cc77cf325ff13a7e7c /src/lzma/list.c
parentImproved the Stream Flags handling API. (diff)
downloadxz-13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7.tar.xz
Renamed constants:
- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
Diffstat (limited to '')
-rw-r--r--src/lzma/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lzma/list.c b/src/lzma/list.c
index e59f28b7..8728d47b 100644
--- a/src/lzma/list.c
+++ b/src/lzma/list.c
@@ -314,7 +314,7 @@ parse_stream_tail(listing_handle *handle)
ret = lzma_vli_reverse_decode(&handle->uncompressed_size,
handle->buffer, &tmp);
if (ret != LZMA_OK)
- handle->uncompressed_size = LZMA_VLI_VALUE_UNKNOWN;
+ handle->uncompressed_size = LZMA_VLI_UNKNOWN;
}
// Calculate the Header Metadata Block start offset.
@@ -376,9 +376,9 @@ list_native(listing_handle *handle)
// If Uncompressed Size isn't present in Block Header,
// it must be present in Stream Footer.
if (handle->block_options.uncompressed_size
- == LZMA_VLI_VALUE_UNKNOWN
+ == LZMA_VLI_UNKNOWN
&& handle->stream_flags.uncompressed_size
- == LZMA_VLI_VALUE_UNKNOWN) {
+ == LZMA_VLI_UNKNOWN) {
FILE_IS_CORRUPT();
return;
}