summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-02-08 07:52:22 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-02-08 07:52:22 +0100
commitc8b41d5e350354881caa933ab363a2e90f991524 (patch)
tree68f87c18618b63ce1750389b13088d6b1b0f5849 /src/xmpp/xmpp_component.cpp
parentde7b3503a47ea7d5a6177359f6c799c2dd5e586e (diff)
downloadbiboumi-c8b41d5e350354881caa933ab363a2e90f991524.tar.gz
biboumi-c8b41d5e350354881caa933ab363a2e90f991524.tar.bz2
biboumi-c8b41d5e350354881caa933ab363a2e90f991524.tar.xz
biboumi-c8b41d5e350354881caa933ab363a2e90f991524.zip
Be verbose about IRC server connection failures, and handle them properly
Diffstat (limited to 'src/xmpp/xmpp_component.cpp')
-rw-r--r--src/xmpp/xmpp_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 6fec72c..92c614c 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -49,7 +49,7 @@ XmppComponent::~XmppComponent()
bool XmppComponent::start()
{
- return this->connect("127.0.0.1", "5347");
+ return this->connect("127.0.0.1", "5347").first;
}
bool XmppComponent::is_document_open() const