From dc1a3f090af1225e15b751fefc05f1a253914f59 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Mon, 28 Jun 2010 11:25:15 -0400 Subject: [PATCH] Fix workers configuration value --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 4ebc720..52e48af 100644 --- a/src/config.c +++ b/src/config.c @@ -395,7 +395,7 @@ void mk_config_read_files(char *path_conf, char *file_conf) config->workers = (int) mk_config_section_getval(section, "Workers", MK_CONFIG_VAL_NUM); - if (config->maxclients < 1) { + if (config->workers < 1) { mk_config_print_error_msg("Workers", path); } @@ -629,7 +629,7 @@ void mk_config_add_index(char *indexname) void mk_config_set_init_values(void) { - /* Valores iniciales */ + /* Init values */ config->timeout = 15; config->hideversion = VAR_OFF; config->keep_alive = VAR_ON; -- 2.11.4.GIT