summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 16:57:06 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 16:57:06 +0000
commit5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb (patch)
tree6367565772fd4a626c328e7f396113c213bd8eb3 /src/log.c
parent6a588826c1411d3ea259a83f96f6744b20de65d6 (diff)
downloadtinyproxy-5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb.tar.gz
tinyproxy-5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb.zip
Moved the log rotation code out of the signal handler and into it's own
function. The signal handler now simply sets a flag which is monitored inside the thread_main_loop() function. The log rotation code has also been tightened to handle any error conditions better. Credit to Petr Lampa for suggesting that system functions inside of a signal handler is bad magic.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions