Revision: 7347
http://mahogany.svn.sourceforge.net/mahogany/?rev=7347&view=rev
Author: vadz
Date: 2007-08-27 13:50:07 -0700 (Mon, 27 Aug 2007)
Log Message:
-----------
prevent recursive calls to c-client from mahogany_read_progress()
Modified Paths:
--------------
trunk/M/src/mail/MailFolderCC.cpp
Modified: trunk/M/src/mail/MailFolderCC.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCC.cpp 2007-08-27 20:49:07 UTC (rev 7346)
+++ trunk/M/src/mail/MailFolderCC.cpp 2007-08-27 20:50:07 UTC (rev 7347)
@@ -5809,6 +5809,9 @@
void mahogany_read_progress(GETS_DATA * /* md */, unsigned long count)
{
+ // forbid any other calls to c-client while we're inside it
+ MAppCriticalSection cs;
+
if ( gs_readProgressInfo )
gs_readProgressInfo->OnProgress(count);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates