Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mail
Dir : e_modules/mail Modified Files: imap.c Log Message: Make mail module build again. =================================================================== RCS file: /cvs/e/e_modules/mail/imap.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- imap.c 12 Jan 2007 01:23:56 -0000 1.14 +++ imap.c 15 Jan 2007 10:26:15 -0000 1.15 @@ -57,11 +57,9 @@ ic->config->port, NULL); ic->server->cmd = 0; } + is->current = ic; } } - is->current = is->clients; - if (!is->current) break; - ic = is->current->data; } } @@ -108,8 +106,7 @@ if (is->data_handler) ecore_event_handler_del (is->data_handler); iservers = evas_list_remove_list (iservers, iservers); - free (is); - is = NULL; + E_FREE(is); } } @@ -261,7 +258,7 @@ } if (!is->current) return 0; - ic = is->current->data; + ic = is->current; is->state++; switch (is->state) @@ -289,10 +286,10 @@ if ((num > 0) && (ic->config->use_exec) && (ic->config->exec)) _mail_start_exe (ic->config); - is->current = is->current->next; + is->current = is->clients->next->data; if (is->current) { - if (is->current->data) + if (is->current) is->state = IMAP_STATE_SERVER_READY; else _mail_imap_server_logout (is); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs