]> granicus.if.org Git - apache/commitdiff
removed no longer used h2_strlwr() dinosaur
authorStefan Eissing <icing@apache.org>
Fri, 18 Dec 2015 16:07:04 +0000 (16:07 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 18 Dec 2015 16:07:04 +0000 (16:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1720819 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_util.c
modules/http2/h2_util.h

index b211f572c89f3a3c23cd4dcc85581475378d4882..76713c85aa6c52e32aa3e76bb3e0fb5e1975ce5f 100644 (file)
@@ -64,17 +64,6 @@ size_t h2_util_header_print(char *buffer, size_t maxlen,
 }
 
 
-char *h2_strlwr(char *s)
-{
-    char *p;
-    for (p = s; *p; ++p) {
-        if (*p >= 'A' && *p <= 'Z') {
-            *p += 'a' - 'A';
-        }
-    }
-    return s;
-}
-
 void h2_util_camel_case_header(char *s, size_t len)
 {
     size_t start = 1;
index 8f8be2993e0ed5b383665474c47cfbeb66388595..0a3790d030b202514eb42ed2c34de8a43ef8cd63 100644 (file)
@@ -26,8 +26,6 @@ size_t h2_util_header_print(char *buffer, size_t maxlen,
                             const char *name, size_t namelen,
                             const char *value, size_t valuelen);
 
-char *h2_strlwr(char *s);
-
 void h2_util_camel_case_header(char *s, size_t len);
 
 int h2_req_ignore_header(const char *name, size_t len);