diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:31:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:31:48 +0000 |
commit | 9845662681ec82b0fa7a43a77d6ca23cf88a840b (patch) | |
tree | 1948c183ae1c82950b71f81f4675e5bae9eeb5c6 /alone_to_lz.cc | |
parent | Releasing debian version 1.24~pre1-2. (diff) | |
download | lziprecover-9845662681ec82b0fa7a43a77d6ca23cf88a840b.tar.xz lziprecover-9845662681ec82b0fa7a43a77d6ca23cf88a840b.zip |
Merging upstream version 1.24.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'alone_to_lz.cc')
-rw-r--r-- | alone_to_lz.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alone_to_lz.cc b/alone_to_lz.cc index ead1e38..d67ea5c 100644 --- a/alone_to_lz.cc +++ b/alone_to_lz.cc @@ -1,5 +1,5 @@ /* Lziprecover - Data recovery tool for the lzip format - Copyright (C) 2009-2023 Antonio Diaz Diaz. + Copyright (C) 2009-2024 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -130,7 +130,7 @@ int alone_to_lz( const int infd, const Pretty_print & pp ) header.dictionary_size( dictionary_size ); } Lzip_trailer & trailer = - *(Lzip_trailer *)( buffer + file_size - Lzip_trailer::size ); + *(Lzip_trailer *)( buffer + file_size - trailer.size ); trailer.data_crc( mtester.crc() ); trailer.data_size( mtester.data_position() ); trailer.member_size( mtester.member_position() ); |