]> granicus.if.org Git - apache/commitdiff
Use apr_ variants of ischar() tests.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 23 Jun 2002 06:08:51 +0000 (06:08 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 23 Jun 2002 06:08:51 +0000 (06:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95855 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_case_filter.c
modules/experimental/mod_case_filter_in.c

index ef7ee00fd2e7e36e9704bec2ab80842e3fc05fe8..532963bf17453eb8fee18637703faa46164957d9 100644 (file)
@@ -67,7 +67,7 @@ static apr_status_t CaseFilterOutFilter(ap_filter_t *f,
        /* 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);
index 4d00261884f6cc15c55e3ffd8269323f3120bd7b..98cc89463884b1484bc62427928bb3c3187fc899 100644 (file)
@@ -148,7 +148,7 @@ static apr_status_t CaseFilterInFilter(ap_filter_t *f,
 
         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);