Correctly style io_chain_t::print

This commit is contained in:
ridiculousfish 2019-12-10 17:21:03 -08:00
parent 0573e95b03
commit 1e15aa4c4a

View file

@ -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();
}