javacommons/connectionmanager/src.s60/connectionmanager.cpp
changeset 79 2f468c1958d0
parent 61 bf7ee68962da
--- a/javacommons/connectionmanager/src.s60/connectionmanager.cpp	Fri Sep 17 08:28:21 2010 +0300
+++ b/javacommons/connectionmanager/src.s60/connectionmanager.cpp	Mon Oct 04 00:10:53 2010 +0300
@@ -65,8 +65,8 @@
 
 EXPORT_C bool ConnectionManager::isIapDefault(TUint32 aMatchIapId, TUint32 aDestId, bool aDefault)
 {
-	  LOG(ESOCKET,EInfo,"+ConnectionManager::isIapDefault");
-	  bool retVal = false;
+    LOG(ESOCKET,EInfo,"+ConnectionManager::isIapDefault");
+    bool retVal = false;
     TRAPD(err,retVal = checkIapDefaultL(aMatchIapId,aDestId,aDefault));
     if(err!=KErrNone)
     {
@@ -78,7 +78,7 @@
 
 bool ConnectionManager::checkIapDefaultL(TUint32 aMatchIapId, TUint32 aDestId, bool aDefault)
 {
-	
+
     LOG(ESOCKET,EInfo,"+ConnectionManager::checkIapDefaultL");
     TUint32 id = aDestId;
     TUint32 tmpapId;
@@ -118,9 +118,9 @@
             return true;
         }
     }
-    return false;	
-	
-	
+    return false;
+
+
 }
 
 // ---------------------------------------------------------------------------
@@ -304,7 +304,7 @@
     {
         JavaStorageApplicationEntry_t::const_iterator findIterator = entries.find(attribute);
 
-        if (findIterator != entries.end())
+        if (findIterator != entries.end() && findIterator->entryValue().length()>0 )
         {
             JavaStorageEntry sourceEntry = (*findIterator);
             temp.append(sourceEntry.entryValue().c_str());