summaryrefslogtreecommitdiff
path: root/src/iofactory.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/iofactory.cc
parent1978c49bea5b439d993067c055cec47e70db8fd6 (diff)
reduce line limit to 95
Diffstat (limited to 'src/iofactory.cc')
-rw-r--r--src/iofactory.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/iofactory.cc b/src/iofactory.cc
index e58efdb..dfb0870 100644
--- a/src/iofactory.cc
+++ b/src/iofactory.cc
@@ -38,7 +38,8 @@ IODevice &IOFactory::getClient(void)
IOFactory &ioFactory = IOFactory::getInstance();
- if (ioFactory.devices.find("client") != ioFactory.devices.end()) return *ioFactory.devices["client"];
+ if (ioFactory.devices.find("client") != ioFactory.devices.end())
+ return *ioFactory.devices["client"];
return nulDevice;
}
@@ -49,6 +50,7 @@ IODevice &IOFactory::getLogger(void)
IOFactory &ioFactory = IOFactory::getInstance();
- if (ioFactory.devices.find("log") != ioFactory.devices.end()) return *ioFactory.devices["log"];
+ if (ioFactory.devices.find("log") != ioFactory.devices.end())
+ return *ioFactory.devices["log"];
return nulDevice;
}