From 9f69311cce90c269d3e0c718e40c56484d1788b9 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 30 Nov 2010 13:14:58 +0300 Subject: log-file: zero offset after log file reopen --- accel-pptpd/logs/log_file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'accel-pptpd') 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) -- cgit v1.2.3