CLEANUP: config: slowstart is never negative
No need to check for a negative value in the "slowstart" argument, it's
an unsigned.
Reported-by: Dinko Korunic <dkorunic@reflected.net>
diff --git a/src/cfgparse.c b/src/cfgparse.c
index dd89c94..5b8fc06 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -4275,12 +4275,6 @@
err_code |= ERR_ALERT | ERR_FATAL;
goto out;
}
- if (val < 0) {
- Alert("parsing [%s:%d]: invalid value %d for argument '%s' of server %s.\n",
- file, linenum, val, args[cur_arg], newsrv->id);
- err_code |= ERR_ALERT | ERR_FATAL;
- goto out;
- }
newsrv->slowstart = (val + 999) / 1000;
cur_arg += 2;
}