summaryrefslogtreecommitdiff
path: root/src/multilogdevice.cc
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 23:30:49 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit40ee1fcfb77731f3cd7385882f41630af6aedb33 (patch)
tree6b13dd75ca9cfbac7daef4f0d5dc2e342ee9ef7d /src/multilogdevice.cc
parent1978c49bea5b439d993067c055cec47e70db8fd6 (diff)
reduce line limit to 95
Diffstat (limited to 'src/multilogdevice.cc')
-rw-r--r--src/multilogdevice.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/multilogdevice.cc b/src/multilogdevice.cc
index cf7c412..ea567ff 100644
--- a/src/multilogdevice.cc
+++ b/src/multilogdevice.cc
@@ -37,7 +37,11 @@ bool MultilogDevice::waitForWrite(void) const
tv.tv_sec = getTimeout();
tv.tv_usec = 0;
- int result = select(fileno(stderr) + 1, nullptr, &writeMask, nullptr, tv.tv_sec ? &tv : nullptr);
+ int result = select(fileno(stderr) + 1,
+ nullptr,
+ &writeMask,
+ nullptr,
+ tv.tv_sec ? &tv : nullptr);
return result > 0;
}
@@ -50,7 +54,9 @@ bool MultilogDevice::waitForRead(void) const
IODevice::WriteResult MultilogDevice::write(void)
{
for (;;) {
- ssize_t wrote = ::write(fileno(stderr), outputBuffer.str().c_str(), outputBuffer.getSize());
+ ssize_t wrote = ::write(fileno(stderr),
+ outputBuffer.str().c_str(),
+ outputBuffer.getSize());
if (wrote == -1) {
if (errno == EINTR)