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

Modified Files:
        wxMsgCmdProc.cpp 
Log Message:
fixed yet another crash when connection is lost unexpectedly

Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -b -u -2 -r1.35 -r1.36
--- wxMsgCmdProc.cpp    14 Sep 2002 17:02:29 -0000      1.35
+++ wxMsgCmdProc.cpp    27 Sep 2002 12:19:04 -0000      1.36
@@ -1689,10 +1689,12 @@
                      // don't copy the messages to the trash, they had been
                      // already copied somewhere
-                     Ticket t = m_asmf->DeleteOrTrashMessages
+                     Ticket t = m_asmf
+                                 ? m_asmf->DeleteOrTrashMessages
                                         (
                                           seq,
                                           MailFolder::DELETE_NO_TRASH,
                                           this
-                                        );
+                                   )
+                                 : ILLEGAL_TICKET;
 
                      if ( t != ILLEGAL_TICKET )



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to