diff options
author | Ailin Nemui <ailin@devio.us> | 2018-03-15 10:18:15 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@devio.us> | 2018-03-15 10:18:15 +0100 |
commit | 5ea51fea1b4efadbf3d3ec26dbef930280e7275c (patch) | |
tree | 2066f301aa1a4a415fc5c97b190691f0ff1929ad /src | |
parent | cf618d55723e645cfe7865b8a55ec718b1ddd2bb (diff) | |
download | biboumi-5ea51fea1b4efadbf3d3ec26dbef930280e7275c.tar.gz biboumi-5ea51fea1b4efadbf3d3ec26dbef930280e7275c.tar.bz2 biboumi-5ea51fea1b4efadbf3d3ec26dbef930280e7275c.tar.xz biboumi-5ea51fea1b4efadbf3d3ec26dbef930280e7275c.zip |
follow coding style
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index c2b5431..59fda4e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -146,7 +146,8 @@ int main(int ac, char** av) // Check for empty irc_clients (not connected, or with no joined // channel) and remove them xmpp_component->clean(); - if (identd) identd->clean(); + if (identd) + identd->clean(); if (stop) { log_info("Signal received, exiting..."); @@ -159,7 +160,8 @@ int main(int ac, char** av) #ifdef UDNS_FOUND dns_handler.destroy(); #endif - if (identd) identd->shutdown(); + if (identd) + identd->shutdown(); // Cancel the timer for a potential reconnection TimedEventsManager::instance().cancel("XMPP reconnection"); } @@ -201,7 +203,8 @@ int main(int ac, char** av) #ifdef UDNS_FOUND dns_handler.destroy(); #endif - if (identd) identd->shutdown(); + if (identd) + identd->shutdown(); } } // If the only existing connection is the one to the XMPP component: |