diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-10-19 12:12:25 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-10-19 12:12:25 +0000 |
| commit | 2be9154d8733bbed9196e3abfb60d0cc719c2a27 (patch) | |
| tree | b89c5a258fb48ad0935fdfbe586b7553c9f4e49d /src/QXmppOutgoingClient.cpp | |
| parent | 3733f5f0a3c62c125ea8170e363fd7f7d267c5c6 (diff) | |
| download | qxmpp-2be9154d8733bbed9196e3abfb60d0cc719c2a27.tar.gz | |
fix QXmppOutgoingClient and QXmppOutgoingServer for slight DNS SRV API change
Diffstat (limited to 'src/QXmppOutgoingClient.cpp')
| -rw-r--r-- | src/QXmppOutgoingClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QXmppOutgoingClient.cpp b/src/QXmppOutgoingClient.cpp index b3336e36..ed51eb9c 100644 --- a/src/QXmppOutgoingClient.cpp +++ b/src/QXmppOutgoingClient.cpp @@ -156,7 +156,7 @@ void QXmppOutgoingClient::connectToHost() if (!serviceInfo.records().isEmpty()) { // take the first returned record - host = serviceInfo.records().first().hostName(); + host = serviceInfo.records().first().target(); port = serviceInfo.records().first().port(); } else { // as a fallback, use domain as the host name |
