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 /examples | |
| parent | 20a7c43f2da248bb17f1338d00d663157dce2156 (diff) | |
clang-format-5.0
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/libaria2ex.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/libaria2ex.cc b/examples/libaria2ex.cc index 9d0ddc8c..f731ada2 100644 --- a/examples/libaria2ex.cc +++ b/examples/libaria2ex.cc @@ -128,10 +128,11 @@ int main(int argc, char** argv) if (dh) { std::cerr << " [" << aria2::gidToHex(gid) << "] " << dh->getCompletedLength() << "/" << dh->getTotalLength() - << "(" << (dh->getTotalLength() > 0 - ? (100 * dh->getCompletedLength() / - dh->getTotalLength()) - : 0) + << "(" + << (dh->getTotalLength() > 0 + ? (100 * dh->getCompletedLength() / + dh->getTotalLength()) + : 0) << "%)" << " D:" << dh->getDownloadSpeed() / 1024 << "KiB/s, U:" << dh->getUploadSpeed() / 1024 << "KiB/s" |
