diff options
| author | glebx777 <[email protected]> | 2022-02-10 16:49:44 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:44 +0300 |
| commit | 573561e4ea1e5fcbf31e871b7f81ece0051c6bf2 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/headers.cpp | |
| parent | ab9150ae9d81b97b19a2a6a8b903f9a40791c8b4 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/headers.cpp')
| -rw-r--r-- | library/cpp/http/io/headers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/io/headers.cpp b/library/cpp/http/io/headers.cpp index 180b939de40..4ec27a29e83 100644 --- a/library/cpp/http/io/headers.cpp +++ b/library/cpp/http/io/headers.cpp @@ -67,11 +67,11 @@ const THttpInputHeader* THttpHeaders::FindHeader(const TStringBuf header) const for (const auto& hdr : Headers_) { if (AsciiCompareIgnoreCase(hdr.Name(), header) == 0) { return &hdr; - } - } + } + } return nullptr; -} - +} + void THttpHeaders::RemoveHeader(const TStringBuf header) { for (auto h = Headers_.begin(); h != Headers_.end(); ++h) { if (AsciiCompareIgnoreCase(h->Name(), header) == 0) { |
