mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Control window must be a positive value.
This commit is contained in:
parent
1a30639d7c
commit
4d8e60a912
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
|
@ -501,6 +501,8 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
case 'w':
|
||||
control->window = atol(optarg);
|
||||
if (control->window < 1)
|
||||
failure("Window must be positive\n");
|
||||
break;
|
||||
case 'z':
|
||||
if (control->flags & FLAG_NOT_LZMA)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue