aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-10-26 05:18:51 -0300
committerdequis <dx@dxzone.com.ar>2015-10-26 05:28:10 -0300
commit0db66186f49438ae9c2f73ca85b915e999896309 (patch)
treee79f3ef3e17866ed19415f877b8526b920b7c85b /protocols/jabber/jabber.c
parent4e365cec5275e3dec782af3ec0bc9a651cc2b831 (diff)
Use proxy_disconnect() in http, ssl, jabber, oscar
Twitter and MSN are all HTTP/SSL, so they don't need it either. The out of tree facebook and steam plugins are also covered by the HTTP/SSL changes. Yahoo is written in a weird way and doesn't seem to need it (it seems it doesn't immediately stop connections when you tell it to logout)
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) {