diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
commit | 79fbcdc939b5d515218187a0d5f2526fb632075a (patch) | |
tree | dc82b3a452568093ab8a9f365126ba56a419eea1 /contrib/minizip/miniunz.c | |
parent | 7a6955760ba950eb82f57929f8f6c9847c65f0af (diff) | |
download | zlib-1.2.2.tar.gz zlib-1.2.2.tar.bz2 zlib-1.2.2.zip |
zlib 1.2.2v1.2.2
Diffstat (limited to 'contrib/minizip/miniunz.c')
-rw-r--r-- | contrib/minizip/miniunz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minizip/miniunz.c b/contrib/minizip/miniunz.c index 11b7260..a6b06a2 100644 --- a/contrib/minizip/miniunz.c +++ b/contrib/minizip/miniunz.c | |||
@@ -317,7 +317,7 @@ int do_extract_currentfile(uf,popt_extract_without_path,popt_overwrite,password) | |||
317 | 317 | ||
318 | printf("The file %s exists. Overwrite ? [y]es, [n]o, [A]ll: ",write_filename); | 318 | printf("The file %s exists. Overwrite ? [y]es, [n]o, [A]ll: ",write_filename); |
319 | ret = scanf("%1s",answer); | 319 | ret = scanf("%1s",answer); |
320 | if (ret != 1) | 320 | if (ret != 1) |
321 | { | 321 | { |
322 | exit(EXIT_FAILURE); | 322 | exit(EXIT_FAILURE); |
323 | } | 323 | } |
@@ -567,7 +567,7 @@ int main(argc,argv) | |||
567 | return do_list(uf); | 567 | return do_list(uf); |
568 | else if (opt_do_extract==1) | 568 | else if (opt_do_extract==1) |
569 | { | 569 | { |
570 | if (opt_extractdir && chdir(dirname)) | 570 | if (opt_extractdir && chdir(dirname)) |
571 | { | 571 | { |
572 | printf("Error changing into %s, aborting\n", dirname); | 572 | printf("Error changing into %s, aborting\n", dirname); |
573 | exit(-1); | 573 | exit(-1); |