applicationmanagement/server/src/AMSmlHelper.cpp
branchRCL_3
changeset 57 6757f1e2efd2
parent 20 f6aa907032f4
child 58 5b858729772b
--- a/applicationmanagement/server/src/AMSmlHelper.cpp	Thu Aug 19 09:42:30 2010 +0300
+++ b/applicationmanagement/server/src/AMSmlHelper.cpp	Tue Aug 31 15:05:55 2010 +0300
@@ -15,10 +15,12 @@
  *
  */
 
-#include "amsmlhelper.h"
+
 #include <SyncMLClientDM.h>
+#include <rconnmon.h> 
+#include "amsmlhelper.h"
 #include "debug.h"
-#include <rconnmon.h> 
+
 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
 #include <es_sock.h>
 #else
@@ -210,13 +212,11 @@
     RDEBUG("	8/8");
 
     aDefaultIAP = num;
-    
-    RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", aDefaultIAP);
 
     // If there is no default Access point in DM profile then use
     // currently used access point by DM session
 
-    if (aDefaultIAP <= -1)
+    if (aDefaultIAP == -2)
         {
 
         TInt sockIapid = -1;
@@ -273,7 +273,6 @@
                 if (uid == KSosServerUid)
                     {
                     sockIapid = connInfo().iIapId;
-                    RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", sockIapid);
 
                     }