Traverse the imap client list correctly.

SVN revision: 23419
This commit is contained in:
Christopher Michael 2006-06-13 13:39:55 +00:00
parent 8360caeef9
commit 66b28af210
1 changed files with 4 additions and 13 deletions

17
imap.c
View File

@ -259,24 +259,15 @@ _mail_imap_server_data(void *data, int type, void *event)
is->clients = evas_list_next(is->clients);
if (is->clients)
{
{
is->current = is->clients->data;
if (is->current)
{
ic = is->current;
is->state = IMAP_STATE_SERVER_READY;
}
else
{
_mail_imap_server_logout(is);
ic = NULL;
}
is->state = IMAP_STATE_SERVER_READY;
}
else
{
_mail_imap_server_logout(is);
ic = NULL;
}
ic = NULL;
}
}
if (!ic) break;
default: