From 2a9c514702db86b359108447b9335ac2998c3514 Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Sun, 3 Feb 2019 18:53:22 -0500 Subject: [PATCH] Fix config copy-paste error --- endlessh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endlessh.c b/endlessh.c index 23f5c1f..9f1fb19 100644 --- a/endlessh.c +++ b/endlessh.c @@ -428,7 +428,7 @@ config_load(struct config *c, const char *file, int hardfail) config_set_max_line_length(c, tokens[1], hardfail); break; case KEY_MAX_CLIENTS: - config_set_max_line_length(c, tokens[1], hardfail); + config_set_max_clients(c, tokens[1], hardfail); break; case KEY_LOG_LEVEL: { errno = 0;