syncmlfw/common/sosserver/src/nsmlsossession.cpp
branchRCL_3
changeset 25 b183ec05bd8c
parent 9 57a65a3a658c
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
   459 #endif
   459 #endif
   460 
   460 
   461     if ( !iDMAuthInfo )
   461     if ( !iDMAuthInfo )
   462         {
   462         {
   463         aMessage.Complete( KErrNotFound );
   463         aMessage.Complete( KErrNotFound );
       
   464          _DBG_FILE("CNSmlSOSSession::GetDMAuthInfoL(): iDMAuthInfo is NULL");
   464         return;
   465         return;
   465         }
   466         }
   466     aMessage.WriteL( 0, iDMAuthInfo->Ptr(0), 0 );
   467     aMessage.WriteL( 0, iDMAuthInfo->Ptr(0), 0 );
   467     aMessage.Complete( KErrNone );
   468     aMessage.Complete( KErrNone );
   468     _DBG_FILE("CNSmlSOSSession::GetDMAuthInfoL(): end");
   469     _DBG_FILE("CNSmlSOSSession::GetDMAuthInfoL(): end");
  2233             
  2234             
  2234             default:
  2235             default:
  2235             break;               
  2236             break;               
  2236             };
  2237             };
  2237         
  2238         
  2238 	   	if ( buf )  
  2239 	   	        
  2239 	   	    { 
  2240         if ( iHandler->CompleteBufProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2240                 if ( iHandler->CompleteBufProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2241             {
  2241                     {
  2242             iProgressEventBuffer.Remove(0);        
  2242                     iProgressEventBuffer.Remove(0);        
  2243             }  
  2243                     }  
  2244             
  2244                     
  2245         delete buf;
  2245                 delete buf;
  2246         buf = NULL;   
  2246                 buf = NULL; 
  2247         
  2247 	   	    }   
  2248         
  2248         }
  2249         }
  2249     
  2250     
  2250     if ( !mutexError )
  2251     if ( !mutexError )
  2251         {
  2252         {
  2252         // Release mutex
  2253         // Release mutex
  2307         if ( iHandler->CompleteBufProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2308         if ( iHandler->CompleteBufProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2308             {
  2309             {
  2309             iProgressEventBuffer.Remove(0);        
  2310             iProgressEventBuffer.Remove(0);        
  2310             }  
  2311             }  
  2311         */
  2312         */
  2312         if ( buf ) 
  2313 		if ( iHandler->CompleteBufContactSuiteProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2313           {     
  2314             {
  2314             if ( iHandler->CompleteBufContactSuiteProgressMsg( *buf, this )) // if owner not found do not remove from buffer
  2315             iContactSuiteProgressEventBuffer.Remove(0);        
  2315                 {
  2316             }  
  2316                     iContactSuiteProgressEventBuffer.Remove(0);        
  2317 
  2317                 }  
  2318         delete buf;
  2318 
  2319         buf = NULL;   
  2319             delete buf;
  2320         
  2320             buf = NULL;   
       
  2321           } 
       
  2322         
  2321         
  2323         }
  2322         }
  2324     
  2323     
  2325     if ( !mutexError )
  2324     if ( !mutexError )
  2326         {
  2325         {