diff -r f45583a69686 -r 62e6d990246c usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp --- a/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp Wed Jun 23 19:20:39 2010 +0300 +++ b/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp Tue Jul 06 15:24:15 2010 +0300 @@ -198,7 +198,11 @@ return KErrGeneral; } - iNotifierClient.Append(ptr); + if( (ret = iNotifierClient.Append(ptr)) != KErrNone) + { + LOG( "append error"); + } + } return ret; @@ -231,7 +235,10 @@ return KErrGeneral; } - iNotifierClient.Append( ptr ); + if( ( ret = iNotifierClient.Append( ptr ) ) != KErrNone) + { + LOG( "append error"); + } } return ret; @@ -338,7 +345,11 @@ //Remove all but the 1st TNotifierClient* ptr = iNotifierClient[0]; iNotifierClient.Reset(); - iNotifierClient.Append( ptr ); + TInt ret = iNotifierClient.Append( ptr ); + if (ret != KErrNone) + { + LOG("append error"); + } } }