aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xmpp/jingle
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-09-20 23:58:04 +0200
committerChristian Schneppe <christian@pix-art.de>2019-09-20 23:58:04 +0200
commit9f7fcd1a475a76bc2f1994da711ba4e0283469dd (patch)
tree8c707cc65a4f5bd5600c2947a6bf50c165d4dd15 /src/main/java/de/pixart/messenger/xmpp/jingle
parentc75fbc7e57ec0ad5085a111c51c70926ef590ba7 (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.java2
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();