From: Frédéric Marchal Date: Sun, 4 Sep 2011 14:18:58 +0000 (+0000) Subject: Fix the date range exclusion while reading the dansguardian log X-Git-Tag: v2.3.2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1cb6a2978a9c3b11d87f60ce4c521e49368a9b7;p=thirdparty%2Fsarg.git 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. --- 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; }