Recurse when we've switched state via LoginDone(). If we've

got an open link, we want it to be select()d on - otherwise
we get a freeze when ``openmode'' is passive.
This commit is contained in:
Brian Somers 1999-01-20 18:06:52 +00:00
parent 6d54a68468
commit b51a60cc47

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: datalink.c,v 1.23 1999/01/08 09:04:58 brian Exp $
* $Id: datalink.c,v 1.24 1999/01/12 21:50:20 brian Exp $
*/
#include <sys/types.h>
@ -305,7 +305,7 @@ datalink_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e,
case DATALINK_LOGIN:
dl->phone.alt = NULL;
datalink_LoginDone(dl);
break;
return datalink_UpdateSet(d, r, w, e, n);
}
break;
case CHAT_FAILED: