diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 00:53:07 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 00:53:07 +0200 |
commit | a21c51b2fd5102f68dfc2c0903e5a6cce68a5325 (patch) | |
tree | 4435b9ad80c4203dc61ec266bdd9d24c9a24f0f6 | |
parent | 1dd42dd21458601970a2cbd09ac1a86d34511c0a (diff) |
hoofd: ! =
-rw-r--r-- | src/hoofd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hoofd.c b/src/hoofd.c index adbd87a..c110f2b 100644 --- a/src/hoofd.c +++ b/src/hoofd.c @@ -26,13 +26,11 @@ static char** parse_options(int argc, char **argv, int *n, int *c) { while ((opt = getopt(argc, argv, "n:c:hV")) != -1) { switch (opt) { case 'c': - if (optarg[0] == '=') optarg++; *c = atoi(optarg); *n = -1; break; case 'n': - if (optarg[0] == '=') optarg++; *c = -1; *n = atoi(optarg); break; |