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/RpcMethodImpl.cc | |
| parent | 20a7c43f2da248bb17f1338d00d663157dce2156 (diff) | |
clang-format-5.0
Diffstat (limited to 'src/RpcMethodImpl.cc')
| -rw-r--r-- | src/RpcMethodImpl.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/RpcMethodImpl.cc b/src/RpcMethodImpl.cc index 15746097..38156053 100644 --- a/src/RpcMethodImpl.cc +++ b/src/RpcMethodImpl.cc @@ -791,9 +791,10 @@ void gatherProgress(Dict* entryDict, const std::shared_ptr<RequestGroup>& group, gatherProgressCommon(entryDict, group, keys); #ifdef ENABLE_BITTORRENT if (group->getDownloadContext()->hasAttribute(CTX_ATTR_BT)) { - gatherProgressBitTorrent(entryDict, group, bittorrent::getTorrentAttrs( - group->getDownloadContext()), - e->getBtRegistry()->get(group->getGID()), keys); + gatherProgressBitTorrent( + entryDict, group, + bittorrent::getTorrentAttrs(group->getDownloadContext()), + e->getBtRegistry()->get(group->getGID()), keys); } #endif // ENABLE_BITTORRENT if (e->getCheckIntegrityMan()) { @@ -1601,7 +1602,7 @@ void changeOption(const std::shared_ptr<RequestGroup>& group, #ifdef ENABLE_BITTORRENT && !dctx->hasAttribute(CTX_ATTR_BT) #endif // ENABLE_BITTORRENT - ) { + ) { // In case of Metalink for (auto& fileEntry : dctx->getFileEntries()) { // PREF_OUT is not applicable to Metalink. We have always |
