Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-04 14:07:00 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-08-04 14:07:00 +0400
commit777b019c7338b6a67f639bb86b90711055709c53 (patch)
tree9bac0517c1d4e6d1690d2738284c89b382eec38e /src/core/ngx_hash.c
parenteb3e4c8be00d6353b5e545a75f9abda0b154585c (diff)
ngx_strlow()
Diffstat (limited to 'src/core/ngx_hash.c')
-rw-r--r--src/core/ngx_hash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/ngx_hash.c b/src/core/ngx_hash.c
index abd2cf173..c39395c7b 100644
--- a/src/core/ngx_hash.c
+++ b/src/core/ngx_hash.c
@@ -390,9 +390,7 @@ found:
elt->value = names[n].value;
elt->len = (u_char) names[n].key.len;
- for (i = 0; i < names[n].key.len; i++) {
- elt->name[i] = ngx_tolower(names[n].key.data[i]);
- }
+ ngx_strlow(elt->name, names[n].key.data, names[n].key.len);
test[key] = (u_short) (test[key] + NGX_HASH_ELT_SIZE(&names[n]));
}