From c1cb6a2978a9c3b11d87f60ce4c521e49368a9b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Sun, 4 Sep 2011 14:18:58 +0000 Subject: [PATCH] Fix the date range exclusion while reading the dansguardian log The exclusion of the entries in the dansguardian log based on the selected date range was not working. Thanks to Iain Lopata for fixing this bug. --- dansguardian_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dansguardian_log.c b/dansguardian_log.c index d1858a0..b40b136 100644 --- a/dansguardian_log.c +++ b/dansguardian_log.c @@ -113,7 +113,7 @@ void dansguardian_log(void) idata = atoi(wdata); if(DansguardianFilterOutDate) { - if(idata < dfrom && idata > duntil) + if(idata < dfrom || idata > duntil) continue; } -- 2.47.2