diff options
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() ) { |