Corrected header file changes that were missing in the patch.

Revert imap.c to use the patched code from rephorm, thanks mate :)


SVN revision: 28011
This commit is contained in:
Christopher Michael 2007-01-16 03:36:45 +00:00
parent ded5199ab9
commit 11be27bf01
2 changed files with 3 additions and 3 deletions

4
imap.c
View File

@ -286,10 +286,10 @@ _mail_imap_server_data (void *data, int type, void *event)
if ((num > 0) && (ic->config->use_exec) && (ic->config->exec))
_mail_start_exe (ic->config);
is->current = is->clients->next->data;
is->current = is->clients->next;
if (is->current)
{
if (is->current)
if (is->current->data)
is->state = IMAP_STATE_SERVER_READY;
else
_mail_imap_server_logout (is);

2
imap.h
View File

@ -20,7 +20,7 @@ struct _ImapServer
{
Ecore_Con_Server *server;
Evas_List *clients;
ImapClient *current;
Evas_List *current;
int cmd;
ImapState state;
void *data;