httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@hyperreal.com>
Subject cvs commit: apache/src/modules/proxy proxy_util.c
Date Wed, 09 Oct 1996 21:36:15 GMT
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 */
  
  
  

Mime
View raw message