Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv18267/src/mail
Modified Files:
MailFolder.cpp
Log Message:
don't call Ping() on the folder we reuse in MF::Open() as it breaks POP3 (and probably
MH) folders because Ping() closes them internally
Index: MailFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolder.cpp,v
retrieving revision 1.289
retrieving revision 1.290
diff -b -u -2 -r1.289 -r1.290
--- MailFolder.cpp 27 Aug 2002 18:46:59 -0000 1.289
+++ MailFolder.cpp 28 Aug 2002 00:12:37 -0000 1.290
@@ -192,18 +192,4 @@
// serious problem it still doesn't look right (fixme)
MailFolder *mf = MFPool::Find(driver, folder, login);
- if ( mf )
- {
- // make sure it's updated
- mf->Ping();
-
- // the connection could have been lost from inside Ping() so check for it
- // yet again and reopen the folder if this is what happened
- if ( !mf->IsOpened() )
- {
- mf->DecRef();
- mf = NULL;
- }
- }
-
if ( !mf )
{
-------------------------------------------------------
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