webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp
changeset 1 272b002df977
parent 0 62f9d29f7211
child 2 150a13bad6af
--- a/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp	Thu Jan 07 16:19:19 2010 +0200
+++ b/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp	Mon Jan 18 21:21:14 2010 +0200
@@ -419,9 +419,9 @@
         
     // Set the IAP selection preferences (IAP ID, do not prompt)
     /*
-    /*Single click connectivity feature has been implemented by CSock (RConnection class).
-    /*According to this client no need to set the IAP ID. 
-    /*Automatically RConnection will use the suitable IAP
+    *Single click connectivity feature has been implemented by CSock (RConnection class).
+    *According to this client no need to set the IAP ID. 
+    *Automatically RConnection will use the suitable IAP
     */
     
 
@@ -468,8 +468,15 @@
     // there is NO direct API to query effective IAP ID from CommsDB.
     if (!retVal)
         {
-        iExplicitIapDefined = ETrue;
-        iIapId = aIapId;
+        #ifdef __SINGLE_CLICK_CONNECTIVITY_ENABLED__
+        	//Since we are using by default setIapId "0".
+        	//There won't be any explicitly defined Iap Id
+        	iExplicitIapDefined = EFalse;
+        	iIapId = 0;
+				#else        	
+        	iExplicitIapDefined = ETrue;
+        	iIapId = aIapId;
+        #endif //__SINGLE_CLICK_CONNECTIVITY_ENABLED__
         }
     return retVal;
     }