fix incorrect check

This commit is contained in:
Chris Cromer 2018-12-08 16:09:33 -03:00
parent 8033a2bb4b
commit 16cbf3ad88
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ int main (int argc, char **argv) {
if (filename != NULL) {
free(filename);
}
if (opt > 3) {
if (opt > 4) {
// Only print this error if the file was able to be opened
fprintf(stderr, "Error: El archivo es corrupto!\n");
}