mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
minizip.c: Check for 'k' and 'K', not 'k' and 'k'.
Found using cppcheck-1.81.
This commit is contained in:
parent
a6e7d468e3
commit
fa7fadebfa
@ -595,7 +595,7 @@ int main(int argc, char *argv[])
|
||||
if ((c == 's') || (c == 'S'))
|
||||
options.aes = 1;
|
||||
#endif
|
||||
if (((c == 'k') || (c == 'k')) && (i + 1 < argc))
|
||||
if (((c == 'k') || (c == 'K')) && (i + 1 < argc))
|
||||
{
|
||||
disk_size = atoi(argv[i + 1]) * 1024;
|
||||
i += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user