usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp
changeset 61 acbdfeb56752
parent 0 1e05558e2206
--- a/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp	Tue Jul 13 00:03:51 2010 +0300
+++ b/usbengines/usbwatcher/src/cusbpersonalitynotifier.cpp	Tue Jul 13 00:13:42 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");
+            }
         }
     }