Added missing detection of invalid flags.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent d7c42c8132
commit 4889b4ceee
  1. 4
      tests/events.c

@ -491,6 +491,10 @@ int main(int argc, char** argv)
case 'n': case 'n':
count = (int) strtol(optarg, NULL, 10); count = (int) strtol(optarg, NULL, 10);
break; break;
default:
usage();
exit(EXIT_FAILURE);
} }
} }

Loading…
Cancel
Save