diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/messagebus/session.cpp | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/session.cpp')
-rw-r--r-- | library/cpp/messagebus/session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/session.cpp b/library/cpp/messagebus/session.cpp index 7436d2327f..46a7ece6a8 100644 --- a/library/cpp/messagebus/session.cpp +++ b/library/cpp/messagebus/session.cpp @@ -53,7 +53,7 @@ namespace NBus { // Simple check that we have to deal with ipv6 address specification or // just host name or ipv4 address. - if (!host.empty() && (host[0] == '[')) { + if (!host.empty() && (host[0] == '[')) { size_t pos = host.find(']'); if (pos < 2 || pos == TString::npos) { // '[]' and '[<address>' are errors. @@ -98,7 +98,7 @@ namespace NBus { hostName = host; } - if (port.empty()) { + if (port.empty()) { portNum = GetProto()->GetPort(); } else { try { @@ -109,7 +109,7 @@ namespace NBus { } TBusService service = GetProto()->GetService(); - return GetQueue()->GetLocator()->Register(service, hostName.data(), portNum, start, end, ipVersion); + return GetQueue()->GetLocator()->Register(service, hostName.data(), portNum, start, end, ipVersion); } TBusSession::~TBusSession() { |