Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16328/src/mail
Modified Files:
MailFolderCC.cpp
Log Message:
ignore unsolicired FETCH (FLAGS) responses during mail_expunge() (fixes
multiple problems with Courier IMAP which sends them)
Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.714
retrieving revision 1.715
diff -b -u -2 -r1.714 -r1.715
--- MailFolderCC.cpp 17 Apr 2006 16:12:35 -0000 1.714
+++ MailFolderCC.cpp 17 Apr 2006 18:31:51 -0000 1.715
@@ -3846,5 +3846,9 @@
}
- if ( IsLocked() )
+ // don't react to unsolicited flags responses from server which can arrive
+ // at a wrong moment (notably Courier IMAP sends us untagged FLAGS response
+ // if a new message appeared in the folder during expunging but we can't do
+ // anything about it at this moment because we're inside c-client)
+ if ( IsLocked() || m_expungeData )
return;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates