aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils/base64
diff options
context:
space:
mode:
authortejblum <tejblum@yandex-team.ru>2022-02-10 16:48:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:02 +0300
commit2bf39531b4f50b889e946ac4866018678a4fb281 (patch)
tree65ee082892af9db55f726e13950abf0b1cc65992 /library/cpp/string_utils/base64
parenta61e8c559b6b690a019253067224d595e3d642f1 (diff)
downloadydb-2bf39531b4f50b889e946ac4866018678a4fb281.tar.gz
Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/string_utils/base64')
-rw-r--r--library/cpp/string_utils/base64/base64.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/string_utils/base64/base64.cpp b/library/cpp/string_utils/base64/base64.cpp
index 05c201f0de..885933dfb7 100644
--- a/library/cpp/string_utils/base64/base64.cpp
+++ b/library/cpp/string_utils/base64/base64.cpp
@@ -164,15 +164,15 @@ static size_t Base64DecodePlain(void* dst, const char* b, const char* e) {
n += 3;
}
- if (n > 0) {
+ if (n > 0) {
if (b[-1] == ',' || b[-1] == '=') {
- n--;
+ n--;
if (b[-2] == ',' || b[-2] == '=') {
- n--;
+ n--;
}
- }
- }
+ }
+ }
return n;
}