aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/jabber/jabber.c2
-rw-r--r--protocols/oscar/conn.c2
2 files changed, 2 insertions, 2 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) {
diff --git a/protocols/oscar/conn.c b/protocols/oscar/conn.c
index 568f4548..ce29abce 100644
--- a/protocols/oscar/conn.c
+++ b/protocols/oscar/conn.c
@@ -316,7 +316,7 @@ void aim_conn_close(aim_conn_t *deadconn)
{
if (deadconn->fd >= 3) {
- closesocket(deadconn->fd);
+ proxy_disconnect(deadconn->fd);
}
deadconn->fd = -1;
if (deadconn->handlerlist) {