Use UINT_MAX for limit of worker_max_connections.

This commit is contained in:
Joris Vink 2015-04-09 08:56:12 +02:00
parent 81c3325677
commit dc4f856c5c
1 changed files with 1 additions and 1 deletions

View File

@ -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);