fix incorrect check

This commit is contained in:
Chris Cromer 2018-12-08 16:09:33 -03:00
parent 8033a2bb4b
commit 16cbf3ad88

View File

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