summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-14 00:53:07 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-14 00:53:07 +0200
commita21c51b2fd5102f68dfc2c0903e5a6cce68a5325 (patch)
tree4435b9ad80c4203dc61ec266bdd9d24c9a24f0f6 /src
parent1dd42dd21458601970a2cbd09ac1a86d34511c0a (diff)
hoofd: ! =
Diffstat (limited to 'src')
-rw-r--r--src/hoofd.c2
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;