From 21bd23f418219c1a4649b0efe7cfb848a31b2922 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sun, 18 Jul 2010 08:40:52 +0000 Subject: fix a warning, remove old comment --- source/QXmppStun.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/QXmppStun.cpp') 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()); } -- cgit v1.2.3