The log_message() function now stores the messages if the configuration

file has not been read yet.  The reason for this is that we don't know
where to log the messgaes until _after_ the config file has been
processed.
This commit is contained in:
Robert James Kaes committed 2002-04-22 19:34:20 +00:00
1 parent 60f61c8f0c
commit 2ec7a4dd72
4 files changed
+73 -9

No files matched your search

+3 -1
View File
@@ -1,4 +1,4 @@
/* $Id: tinyproxy.h,v 1.28 2002-04-18 16:57:06 rjkaes Exp $
/* $Id: tinyproxy.h,v 1.29 2002-04-22 19:34:20 rjkaes Exp $
*
* See 'tinyproxy.c' for a detailed description.
*
@@ -219,5 +219,7 @@ struct config_s {
/* Global Structures used in the program */
extern struct config_s config;
extern bool_t log_rotation_request;
extern char* bind_address;
extern bool_t processed_config_file;
#endif