*
*/
-#include "squid.h"
+#include "squid-old.h"
#include "comm.h"
#include "comm/Connection.h"
#include "log/File.h"
return;
}
/* buffer it */
- xmemcpy(ll->buf + ll->offset, buf, len);
+ memcpy(ll->buf + ll->offset, buf, len);
ll->offset += len;
static void
logfile_mod_tcp_lineend(Logfile * lf)
{
+ logfile_mod_tcp_flush(lf);
}
static void
Ip::Address any_addr;
any_addr.SetAnyAddr();
-#if USE_IPV6
// require the sending TCP port to be of the right family for the destination address.
if (addr.IsIPv4())
any_addr.SetIPv4();
-#endif
ll->fd = comm_open(SOCK_STREAM, IPPROTO_TCP, any_addr, COMM_NONBLOCKING, "TCP log socket");
if (ll->fd < 0) {