summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-19 18:48:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-19 18:48:34 +0300
commit104113ad2d968b48ded17f5d23d7c509627a509a (patch)
treee5f59f5fe84bd20bba2c7542be139b41da5312a0 /src/commands.cpp
parente18ed69469568337283d92e38d44bfda86532b88 (diff)
downloadplus-104113ad2d968b48ded17f5d23d7c509627a509a.tar.gz
plus-104113ad2d968b48ded17f5d23d7c509627a509a.tar.bz2
plus-104113ad2d968b48ded17f5d23d7c509627a509a.tar.xz
plus-104113ad2d968b48ded17f5d23d7c509627a509a.zip
Fix different style issues in ipc code.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 00da06cbb..09eee8b05 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -304,9 +304,14 @@ impHandler0(ipcToggle)
{
IPC::start();
if (ipc)
- debugChatTab->chatLog(strprintf("IPC service available on port %d", ipc->port()));
+ {
+ debugChatTab->chatLog(strprintf("IPC service available on port %d",
+ ipc->getPort()));
+ }
else
+ {
debugChatTab->chatLog("Unable to start IPC service");
+ }
}
}