aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStun.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-08-24 22:19:40 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-08-24 22:19:40 +0200
commita1b7f17478ae64d27f8ee6cfe228ec12ab025da3 (patch)
treef8a435538777ac999c50b44365f95a3700e470eb /src/base/QXmppStun.cpp
parent1fa407edbbfc7de7dc7326f30e5b056631ced3eb (diff)
downloadqxmpp-a1b7f17478ae64d27f8ee6cfe228ec12ab025da3.tar.gz
fix ICE pair ordering
Diffstat (limited to 'src/base/QXmppStun.cpp')
-rw-r--r--src/base/QXmppStun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppStun.cpp b/src/base/QXmppStun.cpp
index 0083ba9d..793b207c 100644
--- a/src/base/QXmppStun.cpp
+++ b/src/base/QXmppStun.cpp
@@ -1576,7 +1576,7 @@ private:
static bool candidatePairPtrLessThan(const CandidatePair *p1, const CandidatePair *p2)
{
- return p1->priority() < p2->priority();
+ return p1->priority() > p2->priority();
}
CandidatePair::CandidatePair(int component, bool controlling, QObject *parent)