From 1e15aa4c4a574b94942ca61137862730c63e0d49 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 10 Dec 2019 17:21:03 -0800 Subject: [PATCH] Correctly style io_chain_t::print --- src/io.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/io.cpp b/src/io.cpp index 21b98fc2f..acdb0e71e 100644 --- a/src/io.cpp +++ b/src/io.cpp @@ -231,12 +231,9 @@ void io_chain_t::print() const { std::fwprintf(stderr, L"Chain %p (%ld items):\n", this, (long)this->size()); for (size_t i = 0; i < this->size(); i++) { const auto &io = this->at(i); - if (io.get() == nullptr) - { + if (io.get() == nullptr) { std::fwprintf(stderr, L"\t(null)\n"); - } - else - { + } else { std::fwprintf(stderr, L"\t%lu: fd:%d, ", (unsigned long)i, io->fd); io->print(); }