aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStun.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-18 08:40:52 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-18 08:40:52 +0000
commit21bd23f418219c1a4649b0efe7cfb848a31b2922 (patch)
tree42487919a79867a52ac5749e64c6e2cc37e12454 /source/QXmppStun.cpp
parentefc1368acc4d8220ff41c9356e78b9e54f53e3bb (diff)
downloadqxmpp-21bd23f418219c1a4649b0efe7cfb848a31b2922.tar.gz
fix a warning, remove old comment
Diffstat (limited to 'source/QXmppStun.cpp')
-rw-r--r--source/QXmppStun.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/QXmppStun.cpp b/source/QXmppStun.cpp
index 08a1c0a2..00e3d2e3 100644
--- a/source/QXmppStun.cpp
+++ b/source/QXmppStun.cpp
@@ -583,7 +583,6 @@ void QXmppStunSocket::checkCandidates()
} else {
message.iceControlled = QByteArray(8, 0);
}
- // REMOTE PWD
writeStun(message, pair);
}
}
@@ -864,6 +863,6 @@ qint64 QXmppStunSocket::writeStun(const QXmppStunMessage &message, QXmppStunSock
QString("Sent to %1\n%2").arg(pair->toString(), message.toString()),
QXmppLogger::SentMessage);
#endif
- m_socket->writeDatagram(message.encode(messagePassword), pair->remote.host(), pair->remote.port());
+ return m_socket->writeDatagram(message.encode(messagePassword), pair->remote.host(), pair->remote.port());
}