diff options
author | Stanisław Halik <sthalik@misaki.pl> | 2016-08-20 12:39:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 12:39:39 +0200 |
commit | f3172cbb18fadc89785733022438b15730752663 (patch) | |
tree | 5f290763bac72b96d571fe1daadc26fabb017e40 | |
parent | 109b6dd280e5cc6129f9ea739f1ab4b545cd593a (diff) | |
parent | 30455de98f37f7070b13880ec9ea0d52b044889f (diff) |
Merge pull request #421 from sheepsskullcity/patch-1
Update ftnoir_tracker_udp.cpp
-rw-r--r-- | tracker-udp/ftnoir_tracker_udp.cpp | 2 |
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) { |