Moved the filter_destroy() logic from inside the signal handler. It's now

been moved to inside the main() function.
This commit is contained in:
Robert James Kaes committed 2002-04-18 17:04:04 +00:00
1 parent 5822ec3d44
commit 43860d2469
2 files changed
+10 -6

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
2002-04-18 Robert James Kaes <rjkaes@flarenet.com>
* src/tinyproxy.c (takesig): Moved the filter_destroy() code out
of the signal handler and placed it inside of main(). Same
reasoning as the rotate_log_files() changes below.
* src/utils.c (rotate_log_files): Moved the log rotation code out
of the signal handler and into it's own function. Also improved
the robustness of the code. Credit to Petr Lampa for suggesting