Mercurial > pidgin.yaz
diff libfaim/conn.c @ 1593:ec31e23aadc7
[gaim-migrate @ 1603]
libfaim updates and a bug fix for bad password.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 16 Mar 2001 14:29:54 +0000 |
parents | 1e2cc8c8bf3c |
children | 3fe5799b7823 |
line wrap: on
line diff
--- a/libfaim/conn.c Fri Mar 16 11:54:39 2001 +0000 +++ b/libfaim/conn.c Fri Mar 16 14:29:54 2001 +0000 @@ -112,6 +112,8 @@ if (!deadconn || !*deadconn) return; + aim_tx_cleanqueue(sess, *deadconn); + faim_mutex_lock(&sess->connlistlock); if (sess->connlist == NULL) ; @@ -540,7 +542,8 @@ * */ faim_export struct aim_conn_t *aim_select(struct aim_session_t *sess, - struct timeval *timeout, int *status) + struct timeval *timeout, + int *status) { struct aim_conn_t *cur; fd_set fds, wfds; @@ -568,6 +571,7 @@ return cur; } else if (cur->status & AIM_CONN_STATUS_INPROGRESS) { FD_SET(cur->fd, &wfds); + haveconnecting++; } FD_SET(cur->fd, &fds);