summaryrefslogtreecommitdiffstats
path: root/range_dec.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:42:32 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:42:32 +0000
commitbcbac5cac5f6194d9fa5fbc16e0a4490e7e23520 (patch)
tree87adc0b5058585d2c7529c151321af22097e2fd2 /range_dec.cc
parentAdding upstream version 1.15~pre1. (diff)
downloadlziprecover-bcbac5cac5f6194d9fa5fbc16e0a4490e7e23520.tar.xz
lziprecover-bcbac5cac5f6194d9fa5fbc16e0a4490e7e23520.zip
Adding upstream version 1.15~rc1.upstream/1.15_rc1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--range_dec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/range_dec.cc b/range_dec.cc
index 27ceba3..5df48b2 100644
--- a/range_dec.cc
+++ b/range_dec.cc
@@ -1,4 +1,4 @@
-/* Lziprecover - Data recovery tool for lzipped files
+/* Lziprecover - Data recovery tool for lzip files
Copyright (C) 2009, 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
@@ -112,7 +112,7 @@ int decompress_member( const int infd, const int outfd,
File_header header;
rdec.read_data( header.data, File_header::size );
if( rdec.finished() ) // End Of File
- { pp( "Error reading member header" ); return 1; }
+ { pp( "File ends unexpectedly at member header" ); return 2; }
if( !header.verify_magic() )
{ pp( "Bad magic number (file not in lzip format)" ); return 2; }
if( !header.verify_version() )