localconnectivityservice/dun/plugins/src/bt/DunBtListen.cpp
branchRCL_3
changeset 38 3dcb815346df
parent 12 031b9cffe6e4
--- a/localconnectivityservice/dun/plugins/src/bt/DunBtListen.cpp	Thu Jul 15 19:38:28 2010 +0300
+++ b/localconnectivityservice/dun/plugins/src/bt/DunBtListen.cpp	Thu Aug 19 10:46:39 2010 +0300
@@ -343,11 +343,11 @@
         return KErrInUse;
         }
     aChannelNum = aListenSocket.LocalPort();
-    
+
     // We try to set the Telephony and Networking bits in our service class.  If this fails we
     // ignore it, as it's better to carry on without it than to fail to start listening.
-    (void)aListenSocket.SetOpt(KBTRegisterCodService, KSolBtRFCOMM, KCoDDunServiceClass);
-    
+    aListenSocket.SetOpt(KBTRegisterCodService, KSolBtRFCOMM, KCoDDunServiceClass);
+
     retTemp = aListenSocket.Listen( KListenQueSize );
     if ( retTemp != KErrNone )
         {