diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-05-31 18:26:30 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-05-31 18:26:30 +0000 |
commit | 833186b7be118380f3955644d40ab7b0e1e685cf (patch) | |
tree | 8229814aceff7dd2a8d6e93c70c9a31e621820d3 /src/stats.h | |
parent | e340b3371ba4e9301427273830d9b2964ec53237 (diff) | |
download | tinyproxy-833186b7be118380f3955644d40ab7b0e1e685cf.tar.gz tinyproxy-833186b7be118380f3955644d40ab7b0e1e685cf.zip |
(create_file_safely): Added the "truncate_file" boolean flag. This is needed since I use this function for both the log file and the pid file, and they behave differently when tinyproxy is started.
(pidfile_create): Call create_file_safely() with a TRUE "truncate_file" flag so that the file is emptied whenever the pid file is needed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions