diff -r 3e3bd14de94e -r c00b160ac7eb usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp --- a/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp Wed Jun 09 10:48:05 2010 +0300 +++ b/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp Mon Jun 21 16:49:27 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"); + } } }