From: Sebastian B. <sb...@us...> - 2013-12-24 09:33:06
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1531 Modified Files: imap.c Log Message: The mail name should begin with the u letter to be a uid Index: imap.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/imap.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- imap.c 24 Dec 2013 09:32:46 -0000 1.85 +++ imap.c 24 Dec 2013 09:33:03 -0000 1.86 @@ -125,7 +125,7 @@ /* fill in the uids of the mails */ for (i=0;i < num_of_mails;i++) { - if (folder->mail_info_array[i]) + if (folder->mail_info_array[i] && folder->mail_info_array[i]->filename[0] == 'u') { local_mail_array[i].uid = atoi(folder->mail_info_array[i]->filename + 1); local_mail_array[i].todel = mail_is_marked_as_deleted(folder->mail_info_array[i]); |