From cdcb44468670b2f557070c43f2ca6dd389eda03c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 18:00:43 +0300 Subject: Adapt to renaming butl::casecmp() to icasecmp() --- mod/mod-ci.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/mod-ci.cxx') 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 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; } -- cgit v1.1