From 28e2bf6584ad7549453438984a4e4d3de839c422 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Fri, 26 Jun 2009 12:30:47 +0000 Subject: [PATCH] Limit the content of the squidguard log file to the date of the day being processed. --- squidguard_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squidguard_log.c b/squidguard_log.c index 68f0a87..e1276e4 100644 --- a/squidguard_log.c +++ b/squidguard_log.c @@ -144,7 +144,7 @@ void read_log(char *wentp, FILE *fp_ou) idata = atoi(wdata); if(strcmp(SquidguardIgnoreDate,"on") == 0) { - if(idata < dfrom && idata > duntil) + if(idata < dfrom || idata > duntil) continue; } -- 2.47.3