aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/archive/yarchive.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/archive/yarchive.cpp
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/archive/yarchive.cpp')
-rw-r--r--library/cpp/archive/yarchive.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/archive/yarchive.cpp b/library/cpp/archive/yarchive.cpp
index 1becc3e5da..e4ac611ca9 100644
--- a/library/cpp/archive/yarchive.cpp
+++ b/library/cpp/archive/yarchive.cpp
@@ -153,15 +153,15 @@ public:
TransferData(src, &compress);
compress.Finish();
} else {
- size_t skip_size = ArchiveWriterDefaultDataAlignment - Off_ % ArchiveWriterDefaultDataAlignment;
- if (skip_size == ArchiveWriterDefaultDataAlignment) {
- skip_size = 0;
- }
- while(skip_size > 0) {
- Out_->Write(char(0));
- Off_ += 1;
- skip_size -= 1;
- }
+ size_t skip_size = ArchiveWriterDefaultDataAlignment - Off_ % ArchiveWriterDefaultDataAlignment;
+ if (skip_size == ArchiveWriterDefaultDataAlignment) {
+ skip_size = 0;
+ }
+ while(skip_size > 0) {
+ Out_->Write(char(0));
+ Off_ += 1;
+ skip_size -= 1;
+ }
TransferData(src, &out);
out.Finish();
}