diff options
author | Edward Rudd <urkle@outoforder.cc> | 2009-03-23 14:22:54 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2009-03-23 14:22:54 (GMT) |
commit | dae987d0b361cdce4402b79a05210c6050c67f22 (patch) | |
tree | 5095401b45e4e3c8c37929af119bbaaba74b4b44 /utility/shell.c | |
parent | 6a4d9bbe760de40b60634c46c0dc6f3c310b819f (diff) |
change threadcount so 0 means single threaded
Diffstat (limited to 'utility/shell.c')
-rw-r--r-- | utility/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[]) | |||
223 | if (!apr_is_empty_array(cfg->input_files)) { | 223 | if (!apr_is_empty_array(cfg->input_files)) { |
224 | parser_split_logs(cfg); | 224 | parser_split_logs(cfg); |
225 | #if APR_HAS_THREADS | 225 | #if APR_HAS_THREADS |
226 | if (cfg->thread_count > 1) { | 226 | if (cfg->thread_count > 0) { |
227 | run_multithreaded(cfg); | 227 | run_multithreaded(cfg); |
228 | } else { | 228 | } else { |
229 | #endif | 229 | #endif |