--- a/serviceproviders/sapi_logging/loggingservice/src/loggingasyncservice.cpp Mon Mar 15 12:43:25 2010 +0200
+++ b/serviceproviders/sapi_logging/loggingservice/src/loggingasyncservice.cpp Wed Mar 31 23:02:09 2010 +0300
@@ -210,7 +210,7 @@
case EReadEvents :
{
iIter->SetTaskId(EReadEvents) ;
- iCallback->HandleNotifyL( iTransId, KErrNone, iIter ) ;
+ iCallback->HandleNotifyL( iTransId, iStatus.Int(), iIter ) ;
iIter = NULL ;
iTask = ESleep;
break;
@@ -219,7 +219,7 @@
case EGetRecent:
{
iIter->SetTaskId(EGetRecent) ;
- iCallback->HandleNotifyL( iTransId ,KErrNone, iIter ) ;
+ iCallback->HandleNotifyL( iTransId ,iStatus.Int(), iIter ) ;
iIter = NULL ;
iTask = ESleep;
break;
@@ -231,14 +231,7 @@
iIter->SetTaskId( EGetEvent ) ;
delete iUpdatedEvent ;
iUpdatedEvent = NULL ;
-
- if( iStatus.Int() != KErrNone )
- {
- delete iIter;
- iIter = NULL ;
- }
-
- iCallback->HandleNotifyL(iTransId , KErrNone, iIter) ;
+ iCallback->HandleNotifyL(iTransId , iStatus.Int(), iIter) ;
iIter = NULL ;
iTask = ESleep;
break ;