supl/locationsuplfw/protocolhandlerapi/src/epos_csuplcommunicationmanager.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 41 d746aee05493
child 45 6b6920c56e2f
--- a/supl/locationsuplfw/protocolhandlerapi/src/epos_csuplcommunicationmanager.cpp	Thu Aug 19 10:20:18 2010 +0300
+++ b/supl/locationsuplfw/protocolhandlerapi/src/epos_csuplcommunicationmanager.cpp	Tue Aug 31 15:37:04 2010 +0300
@@ -125,7 +125,7 @@
     if(NULL == (suplConnection = FindConnection(aHostAddress, aPort)))
     	{
     	suplConnection = CSuplConnection::NewL(iSocketServ, aHostAddress, aPort, aIAPId, this);	
-    	iConnArray.Append(suplConnection);
+    	iConnArray.AppendL(suplConnection);
     	iTrace->Trace(_L("CSuplCommunicationManager::CreateConnectionL New Connection Created"), KTraceFileName, __LINE__);
     	iConnMonitor.ConnectionOpened();
     }
@@ -139,7 +139,7 @@
     	if(suplConnection->RefCount() >= KMaxSessionPerConn)
     		{
     		suplConnection = CSuplConnection::NewL(iSocketServ, aHostAddress, aPort, aIAPId, this);
-    		iConnArray.Append(suplConnection);
+    		iConnArray.AppendL(suplConnection);
     		iTrace->Trace(_L("CSuplCommunicationManager::CreateConnectionL New Connection Created"), KTraceFileName, __LINE__);
         	iConnMonitor.ConnectionOpened();
     	}
@@ -182,7 +182,7 @@
     if(NULL == (suplConnection = FindConnection(aHostAddress, aPort)))
     	{
         suplConnection = CSuplConnection::NewL(iSocketServ, aHostAddress, aPort, aIAPId, aTls, aPskTls, this); 
-        iConnArray.Append(suplConnection);
+        iConnArray.AppendL(suplConnection);
        	iConnMonitor.ConnectionOpened();
         iTrace->Trace(_L("CSuplCommunicationManager::CreateConnectionL New Connection Created"), KTraceFileName, __LINE__);
     	}
@@ -196,11 +196,11 @@
         if(suplConnection->RefCount() >= KMaxSessionPerConn)
         	{
             suplConnection = CSuplConnection::NewL(iSocketServ, aHostAddress, aPort, aIAPId, aTls, aPskTls, this);
-            iConnArray.Append(suplConnection);
+            iConnArray.AppendL(suplConnection);
         	iConnMonitor.ConnectionOpened();
             iTrace->Trace(_L("CSuplCommunicationManager::CreateConnectionL New Connection Created"), KTraceFileName, __LINE__);
         	}
-    	}
+    	}      
     
     // Increment the Ref Count
     suplConnection->IncRefCount();