diff -r 94b923fa11ed -r 63339781d179 wim/WimServer/src/WimTrustSettingsStore.cpp --- a/wim/WimServer/src/WimTrustSettingsStore.cpp Thu Jul 15 19:36:50 2010 +0300 +++ b/wim/WimServer/src/WimTrustSettingsStore.cpp Thu Aug 19 10:45:23 2010 +0300 @@ -384,6 +384,7 @@ CleanupStack::PopAndDestroy( &applications ); } ); + _WIMTRACE2 ( _L( "CWimTrustSettingsStore::DoSetDefaultTrustSettingsL(), err=%d" ), err ); if ( err != KErrNone ) // Some error occured { @@ -418,7 +419,8 @@ RemoveApplicationsL( certID ); // Remove applications RemoveCertificateL( certID ); // Remove certificate ); - + _WIMTRACE2 ( _L( "CWimTrustSettingsStore::DoRemoveTrustSettingsL(), err=%d" ), err ); + if ( err ) // Some error occurred { iDatabase.Rollback(); // Rollback changes