From 3ba0a4aea3d57c67f316b183ca1efb2f6a3e5ee8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 26 Mar 2024 22:22:37 +0100 Subject: URL.cxx: remove sysconf from kURLProtocols list. Signed-off-by: Amlal El Mahrouss --- Private/Source/URL.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Private/Source/URL.cxx b/Private/Source/URL.cxx index fc515a03..f4c17e43 100644 --- a/Private/Source/URL.cxx +++ b/Private/Source/URL.cxx @@ -8,7 +8,7 @@ #include #include -// Bugs = 0 +/// BUGS: 0 namespace HCore { Url::Url(StringView &strUrl) : m_urlView(strUrl, false) {} @@ -20,11 +20,10 @@ constexpr const char *kURLProtocols[] = { "http", // http without the secure "file", // filesystem protocol "ftp", // file transfer protocol - "sysconf", // system config }; constexpr const int kUrlOutSz = 3; //! such as: :// -constexpr const int kProtosCount = 5; +constexpr const int kProtosCount = 4; constexpr const int kRangeSz = 4096; ErrorOr url_extract_location(const char *url) { -- cgit v1.2.3