summaryrefslogtreecommitdiff
path: root/accel-pptpd/logs
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-30 15:27:59 +0300
committerKozlov Dmitry <dima@server>2010-11-30 15:27:59 +0300
commit575d140f9f67ce0ae6b93b9c6b47f6c7098864bb (patch)
tree27ee88d91fdd1d62b67b7312341fa88b125ca4cf /accel-pptpd/logs
parent9f69311cce90c269d3e0c718e40c56484d1788b9 (diff)
downloadaccel-ppp-575d140f9f67ce0ae6b93b9c6b47f6c7098864bb.tar.gz
accel-ppp-575d140f9f67ce0ae6b93b9c6b47f6c7098864bb.zip
ppp: configuration checks
Diffstat (limited to 'accel-pptpd/logs')
-rw-r--r--accel-pptpd/logs/log_file.c2
1 files changed, 1 insertions, 1 deletions
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)