From 3244c2cd5ce5aa408b609e9aa65d71a070d5df7c Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Fri, 18 Dec 2015 16:07:04 +0000 Subject: [PATCH] removed no longer used h2_strlwr() dinosaur git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1720819 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_util.c | 11 ----------- modules/http2/h2_util.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/modules/http2/h2_util.c b/modules/http2/h2_util.c index b211f572c8..76713c85aa 100644 --- a/modules/http2/h2_util.c +++ b/modules/http2/h2_util.c @@ -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; diff --git a/modules/http2/h2_util.h b/modules/http2/h2_util.h index 8f8be2993e..0a3790d030 100644 --- a/modules/http2/h2_util.h +++ b/modules/http2/h2_util.h @@ -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); -- 2.40.0