From 11be27bf01afd87b4590103f486bae53cb6a151d Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 16 Jan 2007 03:36:45 +0000 Subject: [PATCH] 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 --- imap.c | 4 ++-- imap.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imap.c b/imap.c index a932a58..0eb1abc 100644 --- a/imap.c +++ b/imap.c @@ -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); diff --git a/imap.h b/imap.h index ae5e737..f3fbf76 100644 --- a/imap.h +++ b/imap.h @@ -20,7 +20,7 @@ struct _ImapServer { Ecore_Con_Server *server; Evas_List *clients; - ImapClient *current; + Evas_List *current; int cmd; ImapState state; void *data;