summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;