summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-22 13:17:19 +0100
committerMichael Adam <obnox@samba.org>2009-12-23 00:27:32 +0100
commit2c14f89bfc8c599efe06da55792d3606de065a6d (patch)
tree051897377bc2655373529d788b4d87652df47088 /src
parent210e82d08dcb1a8526edaeebe5064e68fc55a2ee (diff)
downloadtinyproxy-2c14f89bfc8c599efe06da55792d3606de065a6d.tar.gz
tinyproxy-2c14f89bfc8c599efe06da55792d3606de065a6d.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
-rw-r--r--src/main.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 63a9a75..e35ef35 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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
diff --git a/src/main.h b/src/main.h
index 91fe61a..ca2ee4b 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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);