summaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/sockpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/coroutine/engine/sockpool.cpp')
-rw-r--r--library/cpp/coroutine/engine/sockpool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/sockpool.cpp b/library/cpp/coroutine/engine/sockpool.cpp
index a7ae874b221..b9482e780fe 100644
--- a/library/cpp/coroutine/engine/sockpool.cpp
+++ b/library/cpp/coroutine/engine/sockpool.cpp
@@ -34,7 +34,7 @@ TPooledSocket TSocketPool::AllocateMore(TConnectData* conn) {
TSocketHolder s(NCoro::Socket(Addr_->Addr()->sa_family, SOCK_STREAM, 0));
if (s == INVALID_SOCKET) {
- ythrow TSystemError(errno) << TStringBuf("can not create socket");
+ ythrow TSystemError(errno) << TStringBuf("can not create socket");
}
SetCommonSockOpts(s, Addr_->Addr());
@@ -45,7 +45,7 @@ TPooledSocket TSocketPool::AllocateMore(TConnectData* conn) {
if (ret == EINTR) {
continue;
} else if (ret) {
- ythrow TSystemError(ret) << TStringBuf("can not connect(") << cont->Name() << ')';
+ ythrow TSystemError(ret) << TStringBuf("can not connect(") << cont->Name() << ')';
}
THolder<TPooledSocket::TImpl> res(new TPooledSocket::TImpl(s, this));