From: wessels <> Date: Sat, 25 Mar 2000 03:40:15 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~2052 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06977c55054a7a010a436ca0e0a762a81a84f458;p=thirdparty%2Fsquid.git DW: - need to call fd_bytes() for writes! --- diff --git a/src/logfile.cc b/src/logfile.cc index 5a0b4b10cd..b338f95666 100644 --- a/src/logfile.cc +++ b/src/logfile.cc @@ -1,5 +1,5 @@ /* - * $Id: logfile.cc,v 1.1 2000/03/14 23:02:18 wessels Exp $ + * $Id: logfile.cc,v 1.2 2000/03/24 20:40:15 wessels Exp $ */ #include "squid.h" @@ -146,6 +146,7 @@ logfileWriteWrapper(Logfile * lf, const void *buf, size_t len) { int s; s = write(lf->fd, buf, len); + fd_bytes(lf->fd, len, FD_WRITE); if (s == len) return; fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());