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() --- web/apache/request.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/apache/request.cxx b/web/apache/request.cxx index ba5952e..bed7042 100644 --- a/web/apache/request.cxx +++ b/web/apache/request.cxx @@ -35,7 +35,7 @@ #include #include // min() -#include // casecmp() +#include // icasecmp() #include #include @@ -589,10 +589,10 @@ namespace web if (ct != nullptr) { - form_multipart_ = casecmp ("multipart/form-data", ct, 19) == 0; + form_multipart_ = icasecmp ("multipart/form-data", ct, 19) == 0; if (form_multipart_ || - casecmp ("application/x-www-form-urlencoded", ct, 33) == 0) + icasecmp ("application/x-www-form-urlencoded", ct, 33) == 0) *form_data_ = vector ( istreambuf_iterator (content (limit)), istreambuf_iterator ()); @@ -848,7 +848,7 @@ namespace web { assert (h->key != nullptr); - if (casecmp (h->key, "Cookie") == 0) + if (icasecmp (h->key, "Cookie") == 0) { for (const char* n (h->val); n != nullptr; ) { @@ -899,7 +899,7 @@ namespace web // Same content type. // - casecmp (type, rec_->content_type ? rec_->content_type : "") == 0) + icasecmp (type, rec_->content_type ? rec_->content_type : "") == 0) { // No change, return the existing stream. // -- cgit v1.1