aboutsummaryrefslogtreecommitdiffstats
path: root/tools/archiver/main.cpp
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /tools/archiver/main.cpp
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'tools/archiver/main.cpp')
-rw-r--r--tools/archiver/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/archiver/main.cpp b/tools/archiver/main.cpp
index 6cda54c1ea..9a5cc863ef 100644
--- a/tools/archiver/main.cpp
+++ b/tools/archiver/main.cpp
@@ -615,16 +615,16 @@ int main(int argc, char** argv) {
for (size_t i = 0; i < files.size(); ++i) {
const auto& path = files[i];
- size_t off = 0;
-#ifdef _win_
- if (path[0] > 0 && isalpha(path[0]) && path[1] == ':')
- off = 2; // skip drive letter ("d:")
+ size_t off = 0;
+#ifdef _win_
+ if (path[0] > 0 && isalpha(path[0]) && path[1] == ':')
+ off = 2; // skip drive letter ("d:")
#endif // _win_
- const size_t pos = path.find(':', off);
+ const size_t pos = path.find(':', off);
TRec cur;
- cur.Path = path.substr(0, pos);
+ cur.Path = path.substr(0, pos);
if (pos != TString::npos)
- cur.Prefix = path.substr(pos + 1);
+ cur.Prefix = path.substr(pos + 1);
if (keys.size())
cur.Key = keys[i];
cur.Recursive = recursive;