summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-09 13:02:37 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-02-23 13:56:08 +0100
commitb86547dc1ef407ca3838444533bc7145e32a0d90 (patch)
tree3aa692def62796a5debe705ebc29d40b311e38cb /src/xmpp
parenta17135720e77c03e66679852198e46a070d56f4d (diff)
downloadbiboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.gz
biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.bz2
biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.xz
biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.zip
Implement async DNS resolution using c-ares
fix #2533
Diffstat (limited to 'src/xmpp')
-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 841ead4..1df1e5d 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -70,7 +70,7 @@ XmppComponent::~XmppComponent()
void XmppComponent::start()
{
- this->connect("127.0.0.1", Config::get("port", "5347"), false);
+ this->connect("localhost", Config::get("port", "5347"), false);
}
bool XmppComponent::is_document_open() const