main: remove global bool processed_config_file.

This seemed out of place. Now the information is
stored in the correct places (as log.c:logging_initialized).

This way, we will be able to cleanly re-initialize
logging during config reload (SIGHUP) in subsequent
commits.

Michael
This commit is contained in:
Michael Adam committed 2009-12-23 00:27:32 +01:00
1 parent 210e82d08d
commit 2c14f89bfc
2 files changed
-4

No files matched your search

-3
View File
@@ -50,7 +50,6 @@
struct config_s config;
struct config_s config_defaults;
unsigned int received_sighup = FALSE; /* boolean */
unsigned int processed_config_file = FALSE; /* boolean */
/*
* Handle a signal
@@ -363,8 +362,6 @@ main (int argc, char **argv)
exit (EX_SOFTWARE);
}
processed_config_file = TRUE;
init_stats ();
/* If ANONYMOUS is turned on, make sure that Content-Length is
-1
View File
@@ -31,7 +31,6 @@
/* Global Structures used in the program */
extern struct config_s config;
extern unsigned int received_sighup; /* boolean */
extern unsigned int processed_config_file; /* boolean */
extern int reload_config (void);