Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1:/tmp/cvs-serv32659/src/mail

Modified Files:
        MailFolderCC.cpp 
Log Message:
CHECK was too harsh, just ignore new mail notifications for folders we didn't create

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.669
retrieving revision 1.670
diff -b -u -2 -r1.669 -r1.670
--- MailFolderCC.cpp    15 Jul 2003 00:47:34 -0000      1.669
+++ MailFolderCC.cpp    17 Jul 2003 23:48:07 -0000      1.670
@@ -4830,5 +4830,11 @@
 {
    MailFolderCC *mf = LookupObject(stream);
-   CHECK_RET( mf, _T("number of messages changed in unknown mail folder") );
+   // We can get callback for temporary c-client stream
+   // which of course doesn't exist in our folder list.
+   if(!mf)
+   {
+      wxLogDebug( _T("number of messages changed in unknown mail folder") );
+      return;
+   }
 
    mf->HandleMailExists(stream, msgnoMax);



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to