Fix for mbfile -virus option.

This commit is contained in:
Andrew Leary 2018-02-08 20:54:47 -05:00
parent 0328d3e54a
commit d7b5a2cd22

View File

@ -120,11 +120,12 @@ int main(int argc, char **argv)
cmd = xstrcat(cmd, argv[i]); cmd = xstrcat(cmd, argv[i]);
if (!strncasecmp(argv[i], "-a", 2)) { if (!strncasecmp(argv[i], "-a", 2)) {
do_annon = TRUE; do_annon = TRUE;
} else if (!strncasecmp(argv[i], "-v", 2)) {
do_novir = TRUE;
} else { } else {
Description = xstrcpy(argv[i]); Description = xstrcpy(argv[i]);
} }
} }
break;
} }
} else if ((!strncasecmp(argv[i], "d", 1)) || (!strncasecmp(argv[i], "u", 1))) { } else if ((!strncasecmp(argv[i], "d", 1)) || (!strncasecmp(argv[i], "u", 1))) {
if (!strncasecmp(argv[i], "u", 1)) if (!strncasecmp(argv[i], "u", 1))