httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_case_filter.c mod_case_filter_in.c
Date Sun, 23 Jun 2002 06:08:51 GMT
wrowe       2002/06/22 23:08:51

  Modified:    modules/experimental mod_case_filter.c mod_case_filter_in.c
  Log:
    Use apr_ variants of ischar() tests.
  
  Revision  Changes    Path
  1.12      +1 -1      httpd-2.0/modules/experimental/mod_case_filter.c
  
  Index: mod_case_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_case_filter.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_case_filter.c	29 Mar 2002 08:17:21 -0000	1.11
  +++ mod_case_filter.c	23 Jun 2002 06:08:51 -0000	1.12
  @@ -67,7 +67,7 @@
   	/* write */
   	buf = apr_bucket_alloc(len, c->bucket_alloc);
   	for(n=0 ; n < len ; ++n)
  -	    buf[n]=toupper(data[n]);
  +	    buf[n] = apr_toupper(data[n]);
   
   	pbktOut = apr_bucket_heap_create(buf, len, apr_bucket_free,
   	                                 c->bucket_alloc);
  
  
  
  1.16      +1 -1      httpd-2.0/modules/experimental/mod_case_filter_in.c
  
  Index: mod_case_filter_in.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_case_filter_in.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mod_case_filter_in.c	29 Mar 2002 08:17:21 -0000	1.15
  +++ mod_case_filter_in.c	23 Jun 2002 06:08:51 -0000	1.16
  @@ -148,7 +148,7 @@
   
           buf = malloc(len);
           for(n=0 ; n < len ; ++n)
  -            buf[n] = toupper(data[n]);
  +            buf[n] = apr_toupper(data[n]);
   
           pbktOut = apr_bucket_heap_create(buf, len, 0, c->bucket_alloc);
           APR_BRIGADE_INSERT_TAIL(pbbOut, pbktOut);
  
  
  

Mime
View raw message