Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : mail
Dir : e_modules/mail
Modified Files:
imap.c
Log Message:
Third and Final attemp at imap working again. It does work again now with
multiple accounts.
===================================================================
RCS file: /cvs/e/e_modules/mail/imap.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- imap.c 13 Jun 2006 14:50:28 -0000 1.7
+++ imap.c 13 Jun 2006 15:59:19 -0000 1.8
@@ -16,6 +16,7 @@
{
Ecore_Con_Type type = ECORE_CON_REMOTE_SYSTEM;
Evas_List *l, *j;
+ ImapClient *ic;
for (l = iservers; l; l = l->next)
{
@@ -34,8 +35,6 @@
for (j = is->clients; j; j = j->next)
{
- ImapClient *ic;
-
ic = j->data;
if (!ic->server->server)
{
@@ -48,6 +47,7 @@
}
}
is->current = evas_list_nth(is->clients, 0);
+ ic = is->current;
}
}
@@ -121,6 +121,9 @@
Config_Box *cb;
Evas_List *l, *j;
int found = 0;
+
+ cb = data;
+ if (!cb) return;
if ((!iservers) || (evas_list_count(iservers) <= 0))
{
@@ -151,7 +154,6 @@
}
if (!found)
{
- cb = data;
ic = E_NEW(ImapClient, 1);
ic->config = cb;
ic->server = is;
@@ -255,7 +257,7 @@
if ((num > 0) && (ic->config->use_exec) && (ic->config->exec))
_mail_start_exe(ic->config);
- is->clients = evas_list_next(is->clients);
+ is->clients = is->clients->next;
if (is->clients)
{
is->current = is->clients->data;
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs