From dae987d0b361cdce4402b79a05210c6050c67f22 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Mon, 23 Mar 2009 14:22:54 +0000 Subject: change threadcount so 0 means single threaded --- (limited to 'utility/shell.c') diff --git a/utility/shell.c b/utility/shell.c index 78ab1b7..1b9e890 100644 --- a/utility/shell.c +++ b/utility/shell.c @@ -223,7 +223,7 @@ int main(int argc, const char *const argv[]) if (!apr_is_empty_array(cfg->input_files)) { parser_split_logs(cfg); #if APR_HAS_THREADS - if (cfg->thread_count > 1) { + if (cfg->thread_count > 0) { run_multithreaded(cfg); } else { #endif -- cgit v0.9.2