aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpfetcher.h
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/fetch/httpfetcher.h
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfetcher.h')
-rw-r--r--library/cpp/http/fetch/httpfetcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/http/fetch/httpfetcher.h b/library/cpp/http/fetch/httpfetcher.h
index 765ad9aa26..7fc251afd2 100644
--- a/library/cpp/http/fetch/httpfetcher.h
+++ b/library/cpp/http/fetch/httpfetcher.h
@@ -72,7 +72,7 @@ public:
}
bool inheader = 1;
- void *bufptr = nullptr, *buf = nullptr, *parsebuf = nullptr;
+ void *bufptr = nullptr, *buf = nullptr, *parsebuf = nullptr;
ssize_t got;
size_t buffree = 0, bufsize = 0, buflen = 0;
size_t maxsize = TCheck::GetMaxHeaderSize();
@@ -81,7 +81,7 @@ public:
if (buf) {
TAlloc::Shrink(buf, buflen - buffree);
if (TWriter::Write(buf, buflen - buffree) < 0) {
- buf = nullptr;
+ buf = nullptr;
ret = EIO;
break;
}