commit dc4f856c5cf69299591af83af15305080c8fb4f2
parent 81c3325677a8851d6a08bb91b70970b9465baebb
Author: Joris Vink <joris@coders.se>
Date: Thu, 9 Apr 2015 08:56:12 +0200
Use UINT_MAX for limit of worker_max_connections.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config.c b/src/config.c
@@ -542,7 +542,7 @@ configure_max_connections(char **argv)
if (argv[1] == NULL)
return (KORE_RESULT_ERROR);
- worker_max_connections = kore_strtonum(argv[1], 10, 1, 65535, &err);
+ worker_max_connections = kore_strtonum(argv[1], 10, 1, UINT_MAX, &err);
if (err != KORE_RESULT_OK) {
printf("bad value for worker_max_connections: %s\n", argv[1]);
return (KORE_RESULT_ERROR);