summaryrefslogtreecommitdiff
path: root/src/child.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-10-25 13:55:44 +0100
committerMichael Adam <obnox@samba.org>2009-10-25 23:33:37 +0100
commitb837e65b21a6f4d9cb45bdab5cc6eff3193c663f (patch)
treec78e3fceb9eb514fd92e3f7cbaf5e7ccf4269da9 /src/child.c
parent83987babd37638003c635e023913f703522925fa (diff)
downloadtinyproxy-b837e65b21a6f4d9cb45bdab5cc6eff3193c663f.tar.gz
tinyproxy-b837e65b21a6f4d9cb45bdab5cc6eff3193c663f.zip
use new filter_reload() in child_main_loop()
Diffstat (limited to '')
-rw-r--r--src/child.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/child.c b/src/child.c
index 2e455c4..a55f855 100644
--- a/src/child.c
+++ b/src/child.c
@@ -417,12 +417,7 @@ void child_main_loop (void)
truncate_log_file ();
#ifdef FILTER_ENABLE
- if (config.filter) {
- log_message (LOG_NOTICE,
- "Re-reading filter file.");
- filter_destroy ();
- filter_init ();
- }
+ filter_reload ();
#endif /* FILTER_ENABLE */
received_sighup = FALSE;