Traverse the imap client list correctly.
SVN revision: 23419
This commit is contained in:
parent
8360caeef9
commit
66b28af210
9
imap.c
9
imap.c
|
@ -261,9 +261,6 @@ _mail_imap_server_data(void *data, int type, void *event)
|
|||
if (is->clients)
|
||||
{
|
||||
is->current = is->clients->data;
|
||||
if (is->current)
|
||||
{
|
||||
ic = is->current;
|
||||
is->state = IMAP_STATE_SERVER_READY;
|
||||
}
|
||||
else
|
||||
|
@ -272,12 +269,6 @@ _mail_imap_server_data(void *data, int type, void *event)
|
|||
ic = NULL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_mail_imap_server_logout(is);
|
||||
ic = NULL;
|
||||
}
|
||||
}
|
||||
if (!ic) break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue