diff options
author | abv <abv@yandex-team.ru> | 2022-02-10 16:50:09 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:09 +0300 |
commit | 508a599920b94ffa7fecd831fcd6e355fc0b04d6 (patch) | |
tree | 70aa260dfd0daaf11dbe1bcbfceb5cacf5002bc7 /library/cpp/uri/uri.cpp | |
parent | 1072ee1402b5fb9b10d1bc5fe5bf4f50b1316d41 (diff) | |
download | ydb-508a599920b94ffa7fecd831fcd6e355fc0b04d6.tar.gz |
Restoring authorship annotation for <abv@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/uri.cpp')
-rw-r--r-- | library/cpp/uri/uri.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/uri/uri.cpp b/library/cpp/uri/uri.cpp index 56a9a4e5ef..10beb0ea42 100644 --- a/library/cpp/uri/uri.cpp +++ b/library/cpp/uri/uri.cpp @@ -120,8 +120,8 @@ namespace NUri { } return FldTryCpy(field, value); - } - + } + /********************************************************/ bool TUri::FldTryCpy(EField field, const TStringBuf& value) { if (!FldIsDirty(field)) { @@ -158,7 +158,7 @@ namespace NUri { if (FldIsSet(fld)) len += 1 + Fields[fld].length(); } - + if (!len) Buffer.Clear(); else { |