close correct socket after faulty jingle socks connection

This commit is contained in:
Daniel Gultsch 2019-09-20 10:00:57 +02:00
parent 5e1d2a92a6
commit ed46d12115

View file

@ -142,7 +142,7 @@ public class JingleSocks5Transport extends JingleTransport {
this.isEstablished = true; this.isEstablished = true;
FileBackend.close(serverSocket); FileBackend.close(serverSocket);
} else { } else {
this.socket.close(); FileBackend.close(socket);
} }
} else { } else {
socket.close(); socket.close();