From 575d140f9f67ce0ae6b93b9c6b47f6c7098864bb Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 30 Nov 2010 15:27:59 +0300 Subject: ppp: configuration checks --- accel-pptpd/logs/log_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd/logs') diff --git a/accel-pptpd/logs/log_file.c b/accel-pptpd/logs/log_file.c index 7287f5b9..c559d4d4 100644 --- a/accel-pptpd/logs/log_file.c +++ b/accel-pptpd/logs/log_file.c @@ -203,6 +203,7 @@ static void send_next_chunk(void) close(lf->fd); lf->fd = lf->new_fd; lf->new_fd = -1; + lf->offset = 0; } aiocb.aio_fildes = lf->fd; @@ -335,7 +336,6 @@ 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