realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileServerCore.cpp
branchRCL_3
changeset 21 346e49b9ce14
parent 20 0dcb073356a5
equal deleted inserted replaced
20:0dcb073356a5 21:346e49b9ce14
   394     CSIPProfileCacheItem* item = ProfileCacheItem(aProfile.Id());
   394     CSIPProfileCacheItem* item = ProfileCacheItem(aProfile.Id());
   395     if (!item)
   395     if (!item)
   396     	{
   396     	{
   397     	return EFalse;
   397     	return EFalse;
   398     	}
   398     	}
   399 
   399     
       
   400       if((aError != KErrNone) && item->HasQueuedUpdate())
       
   401         {
       
   402         PROFILE_DEBUG4("ProfileServerCore::ProceedRegistration HasQueuedUpdate, err",
       
   403 			item->HasQueuedUpdate(), aError)
       
   404         return EFalse;
       
   405         }
       
   406     
   400     if ( ShouldChangeIap(item->UsedProfile(), aError) && 
   407     if ( ShouldChangeIap(item->UsedProfile(), aError) && 
   401     	 !item->SnapRetryCountReached() )
   408     	 !item->SnapRetryCountReached() )
   402         {
   409         {
   403         PROFILE_DEBUG1("CSIPProfileServerCore::ProceedRegistration, IAP should be changed")
   410         PROFILE_DEBUG1("CSIPProfileServerCore::ProceedRegistration, IAP should be changed")
   404         // If IAP should be changed, handle this like an error, so the profile
   411         // If IAP should be changed, handle this like an error, so the profile