You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Chuck Murcko <ch...@hyperreal.com> on 1996/10/09 23:36:15 UTC

cvs commit: apache/src/modules/proxy proxy_util.c

chuck       96/10/09 14:36:15

  Modified:    src/modules/proxy  proxy_util.c
  Log:
  Change call to index() to strchr().
  
  Revision  Changes    Path
  1.3       +2 -2      apache/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** proxy_util.c	1996/10/09 14:52:59	1.2
  --- proxy_util.c	1996/10/09 21:36:13	1.3
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: proxy_util.c,v 1.2 1996/10/09 14:52:59 chuck Exp $ */
    
    /* Utility routines for Apache proxy */
    
  --- 50,56 ----
     *
     */
    
  ! /* $Id: proxy_util.c,v 1.3 1996/10/09 21:36:13 chuck Exp $ */
    
    /* Utility routines for Apache proxy */
    
  ***************
  *** 720,726 ****
        if (d == NULL) d = &x;
    
        d->tm_year = 0;  /* bad date */
  !     comma = index(date,',') ;
        lday =  (comma-date) ;
        
        if( lday >= 6 && lday <= 8) {   /* RFC850 */
  --- 720,726 ----
        if (d == NULL) d = &x;
    
        d->tm_year = 0;  /* bad date */
  !     comma = strchr(date,',') ;
        lday =  (comma-date) ;
        
        if( lday >= 6 && lday <= 8) {   /* RFC850 */