diff options
Diffstat (limited to 'src/iofactory.cc')
-rw-r--r-- | src/iofactory.cc | 6 |
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; } |