Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11298/src/mail
Modified Files:
MailFolderCmn.cpp
Log Message:
yet another correction to the SendMsgStatusChangeEvent() loop
Index: MailFolderCmn.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCmn.cpp,v
retrieving revision 1.131
retrieving revision 1.132
diff -b -u -2 -r1.131 -r1.132
--- MailFolderCmn.cpp 8 Apr 2004 13:34:46 -0000 1.131
+++ MailFolderCmn.cpp 8 Apr 2004 13:35:41 -0000 1.132
@@ -2235,5 +2235,5 @@
// we still have to weed out the expunged messages, just as we do above
size_t count = m_statusChangeData->msgnos.GetCount();
- for ( size_t n = 0; n < count; n++ )
+ for ( size_t n = 0; n < count; )
{
if ( m_statusChangeData->msgnos[n] == MSGNO_ILLEGAL )
@@ -2243,4 +2243,8 @@
count--;
}
+ else // message still exists
+ {
+ n++;
+ }
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates