diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:03:48 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:03:48 +0000 |
commit | a07bce9ade8256e0e7efcd8e24fabf0646cc8405 (patch) | |
tree | 0b961f9614afe8a01cc164e6a17a56edb9e0fed7 /decoder.cc | |
parent | Adding debian version 1.16~pre1-2. (diff) | |
download | lzip-a07bce9ade8256e0e7efcd8e24fabf0646cc8405.tar.xz lzip-a07bce9ade8256e0e7efcd8e24fabf0646cc8405.zip |
Merging upstream version 1.16~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.cc')
-rw-r--r-- | decoder.cc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -47,7 +47,7 @@ void Pretty_print::operator()( const char * const msg ) const std::fprintf( stderr, " " ); if( !msg ) std::fflush( stderr ); } - if( msg ) std::fprintf( stderr, "%s.\n", msg ); + if( msg ) std::fprintf( stderr, "%s\n", msg ); } } @@ -121,8 +121,7 @@ bool LZ_decoder::verify_trailer( const Pretty_print & pp ) const { File_trailer trailer; const int trailer_size = File_trailer::size( member_version ); - const unsigned long long member_size = - rdec.member_position() + trailer_size; + const unsigned long long member_size = rdec.member_position() + trailer_size; bool error = false; int size = rdec.read_data( trailer.data, trailer_size ); @@ -143,7 +142,7 @@ bool LZ_decoder::verify_trailer( const Pretty_print & pp ) const if( !rdec.code_is_zero() ) { error = true; - pp( "Range decoder final code is not zero" ); + pp( "Range decoder final code is not zero." ); } if( trailer.data_crc() != crc() ) { |