httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src mod_log_referer.c
Date Tue, 07 May 1996 07:23:32 GMT
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;
  
  
  

Mime
View raw message