From a1b7f17478ae64d27f8ee6cfe228ec12ab025da3 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 24 Aug 2015 22:19:40 +0200 Subject: fix ICE pair ordering --- src/base/QXmppStun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/QXmppStun.cpp') 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) -- cgit v1.2.3