ben 96/05/07 00:23:32
Modified: src mod_log_referer.c Log: The ignore list was not processed correctly. Fixed. Revision Changes Path 1.3 +1 -1 apache/src/mod_log_referer.c Index: mod_log_referer.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_log_referer.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C3 -r1.2 -r1.3 *** mod_log_referer.c 1996/02/22 11:47:10 1.2 --- mod_log_referer.c 1996/05/07 07:23:30 1.3 *************** *** 198,204 **** for(ptrptr = (char **) cls->referer_ignore_list->elts; ptrptr < ptrptr2; ! ptrptr += cls->referer_ignore_list->elt_size) { if(strstr(referer, *ptrptr)) return OK; --- 198,204 ---- for(ptrptr = (char **) cls->referer_ignore_list->elts; ptrptr < ptrptr2; ! ptrptr = (char **)((char *)ptrptr + cls->referer_ignore_list->elt_size)) { if(strstr(referer, *ptrptr)) return OK;