diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-24 00:37:23 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-24 00:37:23 +0000 |
commit | b7b4d08758c4124bd8736e63cd5b177c855bc469 (patch) | |
tree | 4569acff6c30c60fff9008aef11cfc81a75d6fab /src/thread.c | |
parent | 7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc (diff) | |
download | tinyproxy-b7b4d08758c4124bd8736e63cd5b177c855bc469.tar.gz tinyproxy-b7b4d08758c4124bd8736e63cd5b177c855bc469.zip |
Error message cleanup to make the information more informative.
Diffstat (limited to '')
-rw-r--r-- | src/thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c index 9d0423c..db1036b 100644 --- a/src/thread.c +++ b/src/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.16 2001-09-15 21:28:25 rjkaes Exp $ +/* $Id: thread.c,v 1.17 2001-10-24 00:37:23 rjkaes Exp $ * * Handles the creation/destruction of the various threads required for * processing incoming connections. @@ -196,11 +196,11 @@ short int thread_pool_create(void) pthread_attr_setstacksize(&thread_attr, THREAD_STACK_SIZE); if (thread_config.maxclients == 0) { - log_message(LOG_ERR, "'MaxClients' must be greater than zero."); + log_message(LOG_ERR, "thread_pool_create: \"MaxClients\" must be greater than zero."); return -1; } if (thread_config.startservers == 0) { - log_message(LOG_ERR, "'StartServers' must be greater than zero."); + log_message(LOG_ERR, "thread_pool_create: \"StartServers\" must be greater than zero."); return -1; } @@ -209,7 +209,7 @@ short int thread_pool_create(void) return -1; if (thread_config.startservers > thread_config.maxclients) { - log_message(LOG_WARNING, "Can not start more than 'MaxClients' servers. Starting %u servers instead.", thread_config.maxclients); + log_message(LOG_WARNING, "Can not start more than \"MaxClients\" servers. Starting %u servers instead.", thread_config.maxclients); thread_config.startservers = thread_config.maxclients; } |