aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/other.cpp
diff options
context:
space:
mode:
authorgrachev <grachev@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commit12e3c82a4c0895fe4f03a4dc5d6f100cae665b64 (patch)
tree3c0d13da1c4a22cf2f0d49df524478efd9db32f8 /library/cpp/uri/other.cpp
parentd4f879643b9f81b7bde1412460a870e6adad49a4 (diff)
downloadydb-12e3c82a4c0895fe4f03a4dc5d6f100cae665b64.tar.gz
Restoring authorship annotation for <grachev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/other.cpp')
-rw-r--r--library/cpp/uri/other.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/uri/other.cpp b/library/cpp/uri/other.cpp
index b23a5b68a9c..f6f8115a43b 100644
--- a/library/cpp/uri/other.cpp
+++ b/library/cpp/uri/other.cpp
@@ -34,10 +34,10 @@ void UnTrspChars(const char* s, char* d) {
}
void InvertDomain(char* begin, char* end) {
- // skip schema if it is present
+ // skip schema if it is present
const auto dotPos = TStringBuf{begin, end}.find('.');
if (dotPos == TStringBuf::npos)
- return; // no need to invert anything
+ return; // no need to invert anything
const auto schemaendPos = TStringBuf{begin, end}.find("://", 3);
if (schemaendPos < dotPos)
begin += schemaendPos + 3;