diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 19:28:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 19:28:57 +0200 |
commit | 2c603c4462fb388cd28106ddf833a43e2e6929f8 (patch) | |
tree | 1a0d8ad732ba9f1662e3e6d63c29ba9f825ea425 /bpkg/manifest.cxx | |
parent | 02d43c988322c22f991c7023d1f372195ef86bf0 (diff) |
Get rid of redundant full qualification
Diffstat (limited to 'bpkg/manifest.cxx')
-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; |