Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv17578/src/mail
Modified Files:
MessageCC.cpp
Log Message:
fixed yet another crash when connection is lost unexpectedly
Index: MessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MessageCC.cpp,v
retrieving revision 1.132
retrieving revision 1.133
diff -b -u -2 -r1.132 -r1.133
--- MessageCC.cpp 15 Aug 2002 00:56:49 -0000 1.132
+++ MessageCC.cpp 28 Aug 2002 23:38:18 -0000 1.133
@@ -1247,4 +1247,6 @@
MAILSTREAM *stream = m_folder->Stream();
+ if ( stream )
+ {
unsigned long msgno = mail_msgno(stream, m_uid);
if ( msgno )
@@ -1255,4 +1257,9 @@
{
FAIL_MSG( "failed to get cache element for the message?" );
+ }
+ }
+ else
+ {
+ FAIL_MSG( "folder is closed in GetCacheElement" );
}
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates