Mercurial > pidgin
view libfaim/aim_logoff.c @ 274:4dc94ab60421
[gaim-migrate @ 284]
aim_set_latency made signing on go slower. i think it would just be easier
to figure out what the rate info means. maybe sunday.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 27 May 2000 05:58:31 +0000 |
parents | 6ced2f1c8b24 |
children | 0f14e6d8a51b |
line wrap: on
line source
/* * aim_logoff.c * * */ #include <aim.h> /* * aim_logoff() * * Closes -ALL- open connections. * */ int aim_logoff(struct aim_session_t *sess) { int i = AIM_CONN_MAX-1; while (i > -1) { if (sess->conns[i].fd>-1) aim_conn_close(&(sess->conns[i])); i--; } aim_connrst(sess); /* in case we want to connect again */ return 0; }