aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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());
}