aboutsummaryrefslogtreecommitdiff
path: root/gunzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gunzip.c')
-rw-r--r--gunzip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gunzip.c b/gunzip.c
index 7a360a6ea..0c9d40670 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -1120,11 +1120,11 @@ int in, out; /* input and output file descriptors */
1120 if (res == 3) { 1120 if (res == 3) {
1121 errorMsg(memory_exhausted); 1121 errorMsg(memory_exhausted);
1122 } else if (res != 0) { 1122 } else if (res != 0) {
1123 errorMsg("invalid compressed data--format violated"); 1123 errorMsg("invalid compressed data--format violated\n");
1124 } 1124 }
1125 1125
1126 } else { 1126 } else {
1127 errorMsg("internal error, invalid method"); 1127 errorMsg("internal error, invalid method\n");
1128 } 1128 }
1129 1129
1130 /* Get the crc and original length */ 1130 /* Get the crc and original length */
@@ -1153,10 +1153,10 @@ int in, out; /* input and output file descriptors */
1153 1153
1154 /* Validate decompression */ 1154 /* Validate decompression */
1155 if (orig_crc != updcrc(outbuf, 0)) { 1155 if (orig_crc != updcrc(outbuf, 0)) {
1156 errorMsg("invalid compressed data--crc error"); 1156 errorMsg("invalid compressed data--crc error\n");
1157 } 1157 }
1158 if (orig_len != (ulg) bytes_out) { 1158 if (orig_len != (ulg) bytes_out) {
1159 errorMsg("invalid compressed data--length error"); 1159 errorMsg("invalid compressed data--length error\n");
1160 } 1160 }
1161 1161
1162 /* Check if there are more entries in a pkzip file */ 1162 /* Check if there are more entries in a pkzip file */