diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 18:00:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 18:00:43 +0300 |
commit | cdcb44468670b2f557070c43f2ca6dd389eda03c (patch) | |
tree | 48d5eeef90779731b04b4a9654957acbe2b74197 /mod/mod-ci.cxx | |
parent | c3020dee6c91f2694cd098566716f2a4a7794dbe (diff) |
Adapt to renaming butl::casecmp() to icasecmp()
Diffstat (limited to 'mod/mod-ci.cxx')
-rw-r--r-- | mod/mod-ci.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx index 168b57c..5a56526 100644 --- a/mod/mod-ci.cxx +++ b/mod/mod-ci.cxx @@ -398,9 +398,9 @@ handle (request& rq, response& rs) optional<string> ua; for (const name_value& h: rq.headers ()) { - if (casecmp (h.name, ":Client-IP") == 0) + if (icasecmp (h.name, ":Client-IP") == 0) ip = h.value; - else if (casecmp (h.name, "User-Agent") == 0) + else if (icasecmp (h.name, "User-Agent") == 0) ua = h.value; } |