From 6a44dd0f446ad2b17dc6150d910d007c757e266b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 18:02:40 +0300 Subject: Adapt to renaming butl::casecmp() to icasecmp() --- bdep/http-service.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bdep/http-service.cxx') diff --git a/bdep/http-service.cxx b/bdep/http-service.cxx index 6027c9d..892ad82 100644 --- a/bdep/http-service.cxx +++ b/bdep/http-service.cxx @@ -315,7 +315,7 @@ namespace bdep auto header = [&l] (const char* name) -> optional { size_t n (string::traits_type::length (name)); - if (!(casecmp (name, l, n) == 0 && l[n] == ':')) + if (!(icasecmp (name, l, n) == 0 && l[n] == ':')) return nullopt; string r; @@ -364,7 +364,7 @@ namespace bdep if (ctype) { - if (casecmp ("text/manifest", *ctype, 13) == 0) + if (icasecmp ("text/manifest", *ctype, 13) == 0) { parser p (is, "manifest"); name_value nv (p.next ()); @@ -427,7 +427,7 @@ namespace bdep status = c; } - else if (casecmp ("text/plain", *ctype, 10) == 0) + else if (icasecmp ("text/plain", *ctype, 10) == 0) getline (is, message); // Can result in the empty message. } -- cgit v1.1