aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-submit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-submit.cxx')
-rw-r--r--mod/mod-submit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx
index 7666b55..3130823 100644
--- a/mod/mod-submit.cxx
+++ b/mod/mod-submit.cxx
@@ -427,9 +427,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;
}