summaryrefslogtreecommitdiffhomepage
path: root/src/tinyproxy.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-02-26 22:37:38 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-02-26 22:37:38 +0000
commit20d3008c38c5d25be043ea364378ad0ed10680fb (patch)
tree8f18d1bdc3c61ec6e9ed0e61fe9e77d2207178d4 /src/tinyproxy.c
parent1155be1c152c4fc5337b2bc9def123264d7d3936 (diff)
(main): Removed duplicate code calling the filter_destroy() function.
Once is enough. [Detected by John M Wright]
Diffstat (limited to 'src/tinyproxy.c')
-rw-r--r--src/tinyproxy.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tinyproxy.c b/src/tinyproxy.c
index c4084a5..6239452 100644
--- a/src/tinyproxy.c
+++ b/src/tinyproxy.c
@@ -1,4 +1,4 @@
-/* $Id: tinyproxy.c,v 1.43 2003-01-27 18:44:43 rjkaes Exp $
+/* $Id: tinyproxy.c,v 1.44 2003-02-26 22:37:38 rjkaes Exp $
*
* The initialize routine. Basically sets up all the initial stuff (logfile,
* listening socket, config options, etc.) and then sits there and loops
@@ -380,11 +380,6 @@ main(int argc, char **argv)
child_main_loop();
-#ifdef FILTER_ENABLE
- if (config.filter)
- filter_destroy();
-#endif
-
log_message(LOG_INFO, "Shutting down.");
child_kill_children();
@@ -398,6 +393,7 @@ main(int argc, char **argv)
"Could not remove PID file \"%s\": %s.",
config.pidpath, strerror(errno));
}
+
#ifdef FILTER_ENABLE
if (config.filter)
filter_destroy();