mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 21:28:41 -05:00
Repair regression with UDP spotting to PSK Reporter
Recover correctly from broken connections, i.e. do nothing for UDP.
This commit is contained in:
parent
5efe448a9c
commit
c0f11fb67b
@ -84,7 +84,7 @@ public:
|
||||
{
|
||||
if (!socket_
|
||||
|| QAbstractSocket::UnconnectedState == socket_->state ()
|
||||
|| (socket_->socketType () != config_->psk_reporter_tcpip () ? QAbstractSocket::TcpSocket : QAbstractSocket::UdpSocket))
|
||||
|| (socket_->socketType () != (config_->psk_reporter_tcpip () ? QAbstractSocket::TcpSocket : QAbstractSocket::UdpSocket)))
|
||||
{
|
||||
// we need to create the appropriate socket
|
||||
if (socket_
|
||||
|
Loading…
Reference in New Issue
Block a user