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

Modified Files:
        MailFolderCC.cpp 
Log Message:
try to avoid crashing when a network error occurs when closing a POP3 folder

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.599
retrieving revision 1.600
diff -b -u -2 -r1.599 -r1.600
--- MailFolderCC.cpp    11 Mar 2002 19:41:00 -0000      1.599
+++ MailFolderCC.cpp    19 Mar 2002 18:06:55 -0000      1.600
@@ -2401,9 +2401,4 @@
    if ( m_MailStream )
    {
-      if ( GetType() == MF_POP )
-      {
-         Pop3_SaveFlags(GetName(), m_MailStream);
-      }
-
       /*
          DO NOT SEND EVENTS FROM HERE, ITS CALLED FROM THE DESTRUCTOR AND
@@ -2411,4 +2406,9 @@
        */
       CCAllDisabler no;
+
+      if ( GetType() == MF_POP )
+      {
+         Pop3_SaveFlags(GetName(), m_MailStream);
+      }
 
 #ifdef USE_DIALUP


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to