From: Sebastian B. <sb...@us...> - 2013-12-24 09:32:48
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1492 Modified Files: imap.c Log Message: Use the correct remote mail array. The previously used one has already been freed when being at this point. Index: imap.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/imap.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -r1.84 -r1.85 --- imap.c 24 Dec 2013 09:32:28 -0000 1.84 +++ imap.c 24 Dec 2013 09:32:46 -0000 1.85 @@ -1793,7 +1793,7 @@ if (rm) { /* Now delete orphaned messages */ - imap_delete_orphan_messages(local_mail_array,num_of_local_mails,remote_mail_array,num_remote_mails, imap_server, imap_folder); + imap_delete_orphan_messages(local_mail_array,num_of_local_mails,rm->remote_mail_array,rm->num_of_remote_mail, imap_server, imap_folder); imap_free_remote_mailbox(rm); } } |