sprintf(wdata,"%s%s%s",year,mon,day);
idata = atoi(wdata);
- if(strcmp(SquidguardIgnoreDate,"on") == 0) {
+ if(SquidguardIgnoreDate) {
if(idata < dfrom || idata > duntil)
continue;
}
bzero(mon, 4);
bzero(year, 5);
- if(strcmp(SquidguardIgnoreDate,"on") == 0) {
+ if(SquidguardIgnoreDate) {
if(strcmp(df,"e") == 0) {
strncpy(day,period,2);
strncpy(mon,period+2,3);