summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 11:13:12 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 11:13:12 (GMT)
commitef9d1b2d41a2e9fd588c394161bc3dfce83035c7 (patch)
treedc603e395f5c643f9776ec4936d16669d35426cb /programs
parent112499a73a0f367677d8df486a30007ca94101b1 (diff)
downloadlz4-ef9d1b2d41a2e9fd588c394161bc3dfce83035c7.zip
lz4-ef9d1b2d41a2e9fd588c394161bc3dfce83035c7.tar.gz
lz4-ef9d1b2d41a2e9fd588c394161bc3dfce83035c7.tar.bz2
fixed --test
Diffstat (limited to 'programs')
-rw-r--r--programs/lz4cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index e49bbcb..9625640 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -326,7 +326,7 @@ int main(int argc, const char** argv)
if ((!strcmp(argument, "--decompress"))
|| (!strcmp(argument, "--uncompress"))) { decode = 1; continue; }
if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; if (inFileNames==NULL) inFileNames = (const char**)malloc(argc * sizeof(char*)); continue; }
- if (!strcmp(argument, "--test")) { decode = 1; LZ4IO_setOverwrite(1); output_filename=nulmark; continue; }
+ if (!strcmp(argument, "--test")) { decode = 1; LZ4IO_setTestMode(1); output_filename=nulmark; continue; }
if (!strcmp(argument, "--force")) { LZ4IO_setOverwrite(1); continue; }
if (!strcmp(argument, "--no-force")) { LZ4IO_setOverwrite(0); continue; }
if ((!strcmp(argument, "--stdout"))