diff options
author | Stefan de Konink <stefan@konink.de> | 2011-01-23 01:47:22 +0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-23 02:08:29 +0800 |
commit | c3be6ea0b2141fe86b9aa0c2701e43b72f86ae30 (patch) | |
tree | bc9f72845c4db4ed6f0ba8f667fc1f017c744313 /sleekxmpp/clientxmpp.py | |
parent | da332365d4e97720ac182e0f66b73919d764a555 (diff) | |
download | slixmpp-c3be6ea0b2141fe86b9aa0c2701e43b72f86ae30.tar.gz slixmpp-c3be6ea0b2141fe86b9aa0c2701e43b72f86ae30.tar.bz2 slixmpp-c3be6ea0b2141fe86b9aa0c2701e43b72f86ae30.tar.xz slixmpp-c3be6ea0b2141fe86b9aa0c2701e43b72f86ae30.zip |
My hunch is that these should also be updated.
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r-- | sleekxmpp/clientxmpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index b8668107..a1813985 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -164,7 +164,7 @@ class ClientXMPP(BaseXMPP): log.debug("Since no address is supplied," + \ "attempting SRV lookup.") try: - xmpp_srv = "_xmpp-client._tcp.%s" % self.server + xmpp_srv = "_xmpp-client._tcp.%s" % self.boundjid.host answers = dns.resolver.query(xmpp_srv, dns.rdatatype.SRV) except (dns.resolver.NXDOMAIN, dns.resolver.NoAnswer): log.debug("No appropriate SRV record found." + \ |