diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2017-11-23 14:11:43 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2017-11-23 14:11:43 +0900 |
| commit | 795a0474df35c56307151cca5787cb8ae2df06e5 (patch) | |
| tree | 2197ade3cb882db0a82dfde676e0eff27e618930 /src/SessionSerializer.cc | |
| parent | 20a7c43f2da248bb17f1338d00d663157dce2156 (diff) | |
clang-format-5.0
Diffstat (limited to 'src/SessionSerializer.cc')
| -rw-r--r-- | src/SessionSerializer.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/SessionSerializer.cc b/src/SessionSerializer.cc index 8dd9008a..6dbdabea 100644 --- a/src/SessionSerializer.cc +++ b/src/SessionSerializer.cc @@ -223,14 +223,12 @@ bool writeDownloadResult(IOFile& fp, std::set<a2_gid_t>& metainfoCache, // also exists in remaining URIs. { Unique<std::string> unique; - if (hasRemaining && - !writeUri(fp, file->getRemainingUris().begin(), - file->getRemainingUris().end(), unique)) { + if (hasRemaining && !writeUri(fp, file->getRemainingUris().begin(), + file->getRemainingUris().end(), unique)) { return false; } - if (hasSpent && - !writeUri(fp, file->getSpentUris().begin(), - file->getSpentUris().end(), unique)) { + if (hasSpent && !writeUri(fp, file->getSpentUris().begin(), + file->getSpentUris().end(), unique)) { return false; } } |
