diff options
author | Kozlov Dmitry <dima@server> | 2010-11-30 13:14:58 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-30 13:14:58 +0300 |
commit | 9f69311cce90c269d3e0c718e40c56484d1788b9 (patch) | |
tree | 9c36bb87cf8ffce74508ffa8b68da77e377e8dbf /accel-pptpd | |
parent | f96198bf149203e1ddca8f2c381cf4b9849cdda9 (diff) | |
download | accel-ppp-xebd-9f69311cce90c269d3e0c718e40c56484d1788b9.tar.gz accel-ppp-xebd-9f69311cce90c269d3e0c718e40c56484d1788b9.zip |
log-file: zero offset after log file reopen
Diffstat (limited to 'accel-pptpd')
-rw-r--r-- | accel-pptpd/logs/log_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pptpd/logs/log_file.c b/accel-pptpd/logs/log_file.c index ad0a287..7287f5b 100644 --- a/accel-pptpd/logs/log_file.c +++ b/accel-pptpd/logs/log_file.c @@ -335,6 +335,7 @@ static void general_reopen(void) return; } log_file->new_fd = fd; + log_file->offset = 0; } static void free_lpd(struct log_file_pd_t *lpd) |