diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-20 23:58:04 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-20 23:58:04 +0200 |
commit | 9f7fcd1a475a76bc2f1994da711ba4e0283469dd (patch) | |
tree | 8c707cc65a4f5bd5600c2947a6bf50c165d4dd15 /src/main/java/de/pixart/messenger/xmpp/jingle | |
parent | c75fbc7e57ec0ad5085a111c51c70926ef590ba7 (diff) |
close correct socket after faulty jingle socks connection
Diffstat (limited to 'src/main/java/de/pixart/messenger/xmpp/jingle')
-rw-r--r-- | src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java b/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java index 2bbf7c981..b3f56bba5 100644 --- a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java +++ b/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java @@ -143,7 +143,7 @@ public class JingleSocks5Transport extends JingleTransport { this.isEstablished = true; FileBackend.close(serverSocket); } else { - this.socket.close(); + FileBackend.close(socket); } } else { socket.close(); |