aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 74c870e7..0dbcfa4e 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -344,7 +344,7 @@ static void jabber_logout(struct im_connection *ic)
ssl_disconnect(jd->ssl);
}
if (jd->fd >= 0) {
- closesocket(jd->fd);
+ proxy_disconnect(jd->fd);
}
if (jd->tx_len) {