summaryrefslogtreecommitdiffhomepage
path: root/tracker-udp
diff options
context:
space:
mode:
authorStanisław Halik <sthalik@misaki.pl>2016-08-20 12:39:39 +0200
committerGitHub <noreply@github.com>2016-08-20 12:39:39 +0200
commitf3172cbb18fadc89785733022438b15730752663 (patch)
tree5f290763bac72b96d571fe1daadc26fabb017e40 /tracker-udp
parent109b6dd280e5cc6129f9ea739f1ab4b545cd593a (diff)
parent30455de98f37f7070b13880ec9ea0d52b044889f (diff)
Merge pull request #421 from sheepsskullcity/patch-1
Update ftnoir_tracker_udp.cpp
Diffstat (limited to 'tracker-udp')
-rw-r--r--tracker-udp/ftnoir_tracker_udp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-udp/ftnoir_tracker_udp.cpp b/tracker-udp/ftnoir_tracker_udp.cpp
index 8438d48f..64a0aa44 100644
--- a/tracker-udp/ftnoir_tracker_udp.cpp
+++ b/tracker-udp/ftnoir_tracker_udp.cpp
@@ -22,7 +22,7 @@ void FTNoIR_Tracker::run()
QByteArray datagram;
datagram.resize(sizeof(last_recv_pose));
- should_quit = sock.bind(QHostAddress::Any, quint16(s.port), QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint);
+ should_quit = !sock.bind(QHostAddress::Any, quint16(s.port), QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint);
while (!should_quit)
{