diff options
author | Ilnur Khuziev <ilnur.khuziev@yandex.ru> | 2022-02-10 16:46:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:14 +0300 |
commit | 60040c91ffe701a84689b2c6310ff845e65cff42 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/tld | |
parent | 736dcd8ca259457a136f2f9f9168c44643914323 (diff) | |
download | ydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz |
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/tld')
-rw-r--r-- | library/cpp/tld/tld.h | 2 | ||||
-rw-r--r-- | library/cpp/tld/tld_ut.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/tld/tld.h b/library/cpp/tld/tld.h index 3478c15673c..9e241de090b 100644 --- a/library/cpp/tld/tld.h +++ b/library/cpp/tld/tld.h @@ -6,7 +6,7 @@ namespace NTld { const char* const* GetTlds(); // Note that FindTld() returns empty string when @host is single domain label (without '.'). - // If you need whole @host for such case, you can use GetZone() from library/cpp/string_utils/url/url.h + // If you need whole @host for such case, you can use GetZone() from library/cpp/string_utils/url/url.h inline TStringBuf FindTld(const TStringBuf& host) { size_t p = host.rfind('.'); return p != TStringBuf::npos ? host.SubStr(p + 1) : TStringBuf(); diff --git a/library/cpp/tld/tld_ut.cpp b/library/cpp/tld/tld_ut.cpp index 7c571e516bc..733200f2b55 100644 --- a/library/cpp/tld/tld_ut.cpp +++ b/library/cpp/tld/tld_ut.cpp @@ -1,6 +1,6 @@ #include "tld.h" -#include <library/cpp/testing/unittest/registar.h> +#include <library/cpp/testing/unittest/registar.h> #include <library/cpp/charset/doccodes.h> |