diff options
-rw-r--r-- | bpkg/manifest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/manifest.cxx b/bpkg/manifest.cxx index b7b0aaf..b6da488 100644 --- a/bpkg/manifest.cxx +++ b/bpkg/manifest.cxx @@ -1211,9 +1211,9 @@ namespace bpkg using protocol = url_parts::protocol; optional<protocol> p; - if (::strncasecmp (location.c_str (), "http://", 7) == 0) + if (strncasecmp (location.c_str (), "http://", 7) == 0) p = protocol::http; - else if (::strncasecmp (location.c_str (), "https://", 8) == 0) + else if (strncasecmp (location.c_str (), "https://", 8) == 0) p = protocol::https; return p; |