summaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils/base64/base64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/string_utils/base64/base64.cpp')
-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 885933dfb73..05c201f0de7 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;
}