Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30563/src/classes
Modified Files:
Profile.cpp
Log Message:
don't commit profile if it's still suspended
Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.160
retrieving revision 1.161
diff -b -u -2 -r1.160 -r1.161
--- Profile.cpp 12 Jul 2004 00:18:31 -0000 1.160
+++ Profile.cpp 12 Jul 2004 00:25:56 -0000 1.161
@@ -1704,4 +1704,11 @@
ASSERT_MSG( m_Suspended, _T("calling Commit() without matching Suspend()") );
+ if ( m_Suspended > 1 )
+ {
+ // don't commit yet, we remain suspended
+ m_Suspended--;
+ return;
+ }
+
if ( m_wroteSuspended )
{
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates