summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-12-21 21:04:39 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-12-24 14:03:40 +0100
commit983477084cbb78b00da249a301480175324e93fc (patch)
tree292e998621df4b640e0454d95e6d1082d0910dd8 /src/xmpp/xmpp_component.cpp
parent2ecb637f0c4a97643962d1703f208d1b1baf7e9b (diff)
downloadbiboumi-983477084cbb78b00da249a301480175324e93fc.tar.gz
biboumi-983477084cbb78b00da249a301480175324e93fc.tar.bz2
biboumi-983477084cbb78b00da249a301480175324e93fc.tar.xz
biboumi-983477084cbb78b00da249a301480175324e93fc.zip
connect() returns a boolean
Diffstat (limited to 'src/xmpp/xmpp_component.cpp')
-rw-r--r--src/xmpp/xmpp_component.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 7810499..433f87a 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -46,9 +46,9 @@ XmppComponent::~XmppComponent()
{
}
-void XmppComponent::start()
+bool XmppComponent::start()
{
- this->connect("127.0.0.1", "5347");
+ return this->connect("127.0.0.1", "5347");
}
void XmppComponent::send_stanza(const Stanza& stanza)