bluetoothmgmt/btmgr/BTManClient/BTManClient.cpp
changeset 51 20ac952a623c
parent 0 29b1cd4cb562
--- a/bluetoothmgmt/btmgr/BTManClient/BTManClient.cpp	Thu Sep 23 17:06:47 2010 +0300
+++ b/bluetoothmgmt/btmgr/BTManClient/BTManClient.cpp	Wed Oct 13 16:20:29 2010 +0300
@@ -181,7 +181,13 @@
 	LOG_FUNC
 	if (SubSessionHandle())
 		{
-		SendReceive(EBTManCancelRequest, TIpcArgs(&aStatus));
+		IF_FLOGGING(TInt err = ) SendReceive(EBTManCancelRequest, TIpcArgs(&aStatus));
+		IF_FLOGGING(
+			if (err != KErrNone)
+				{
+				LOG1(_L("ALERT: Cancel request completed with %d"), err);
+				}
+			);
 		}
 	else
 		{
@@ -307,7 +313,13 @@
 	LOG_FUNC
 	TInt count = 0;
 	TPckg<TInt> pckg(count);
-	SendReceive(EBTManSubSessionCount, TIpcArgs(&pckg));
+	IF_FLOGGING(TInt err = ) SendReceive(EBTManSubSessionCount, TIpcArgs(&pckg));
+	IF_FLOGGING(
+		if (err != KErrNone)
+			{
+			LOG1(_L("ALERT: Subsession count completed with %d") , err);
+			}
+		);
 	return count;
 	}