aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/multi.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/stream/multi.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/multi.cpp')
-rw-r--r--util/stream/multi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/multi.cpp b/util/stream/multi.cpp
index 23ebb23e7f..b2354298a0 100644
--- a/util/stream/multi.cpp
+++ b/util/stream/multi.cpp
@@ -22,7 +22,7 @@ size_t TMultiInput::DoRead(void* buf, size_t len) {
return C_->Read(buf, len);
}
-size_t TMultiInput::DoReadTo(TString& st, char ch) {
+size_t TMultiInput::DoReadTo(TString& st, char ch) {
size_t ret = C_->ReadTo(st, ch);
if (ret == st.size() + 1) { // found a symbol, not eof
return ret;
@@ -34,7 +34,7 @@ size_t TMultiInput::DoReadTo(TString& st, char ch) {
if (ret == 0) {
ret += C_->ReadTo(st, ch);
} else {
- TString tmp;
+ TString tmp;
ret += C_->ReadTo(tmp, ch);
st += tmp;
}