aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dns
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/dns
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/dns')
-rw-r--r--library/cpp/dns/cache.cpp4
-rw-r--r--library/cpp/dns/thread.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/dns/cache.cpp b/library/cpp/dns/cache.cpp
index 6c1f55e4f80..05c14e82fce 100644
--- a/library/cpp/dns/cache.cpp
+++ b/library/cpp/dns/cache.cpp
@@ -123,7 +123,7 @@ namespace {
na = ThreadedResolve(host, rt.Info.Port);
} else {
Y_ASSERT(0);
- throw yexception() << TStringBuf("invalid resolve method");
+ throw yexception() << TStringBuf("invalid resolve method");
}
return new TResolvedHost(originalHost, *na);
@@ -174,7 +174,7 @@ namespace {
}
};
- inline IDns* ThrDns() {
+ inline IDns* ThrDns() {
return FastTlsSingleton<TThreadedDns>();
}
}
diff --git a/library/cpp/dns/thread.cpp b/library/cpp/dns/thread.cpp
index b5a5237004a..8b27d2d527c 100644
--- a/library/cpp/dns/thread.cpp
+++ b/library/cpp/dns/thread.cpp
@@ -25,7 +25,7 @@ namespace {
if (!Error) {
if (!Result) {
- ythrow TNetworkResolutionError(EAI_AGAIN) << TStringBuf(": resolver down");
+ ythrow TNetworkResolutionError(EAI_AGAIN) << TStringBuf(": resolver down");
}
return Result;
@@ -33,7 +33,7 @@ namespace {
Error->Raise();
- ythrow TNetworkResolutionError(EAI_FAIL) << TStringBuf(": shit happen");
+ ythrow TNetworkResolutionError(EAI_FAIL) << TStringBuf(": shit happen");
}
inline void Resolve() noexcept {