mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user