diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:03:36 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:03:36 +0000 |
commit | e43c45c952bb5d273724bfc6dd69e4c2de1aa190 (patch) | |
tree | bca9bb3d2f16f3edb5ab0d6f6b209be3f4fabb92 /decoder.cc | |
parent | Adding upstream version 1.16~pre1. (diff) | |
download | lzip-e43c45c952bb5d273724bfc6dd69e4c2de1aa190.tar.xz lzip-e43c45c952bb5d273724bfc6dd69e4c2de1aa190.zip |
Adding upstream version 1.16~pre2.upstream/1.16_pre2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-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() ) { |