Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-05-15 19:40:26 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-06-24 01:03:12 +0300
commitcb446f180861f53f47a02850c22b0a10b39a8340 (patch)
tree0e4fd1d9e653987bfa42bf10ea41edefb7dba25d /src/murmur/MurmurIce.cpp
parentcf6a5b708861cd04d06f46cfd02aea298e795d9f (diff)
Server: convert bUdp to use QAtomicInt for proper synchronization.
Diffstat (limited to 'src/murmur/MurmurIce.cpp')
-rw-r--r--src/murmur/MurmurIce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/MurmurIce.cpp b/src/murmur/MurmurIce.cpp
index 0ff6de4f3..85b2cb883 100644
--- a/src/murmur/MurmurIce.cpp
+++ b/src/murmur/MurmurIce.cpp
@@ -72,7 +72,7 @@ static void userToUser(const ::User *p, Murmur::User &mp) {
mp.udpPing = u->dUDPPingAvg;
mp.tcpPing = u->dTCPPingAvg;
- mp.tcponly = ! u->bUdp;
+ mp.tcponly = u->aiUdpFlag == 0;
::Murmur::NetAddress addr(16, 0);
const Q_IPV6ADDR &a = u->haAddress.qip6;