syncmlfw/common/syncagent/src/NSmlAgentBase.cpp
branchRCL_3
changeset 9 57a65a3a658c
parent 1 a9c0ce913924
child 11 06f47423ecee
--- a/syncmlfw/common/syncagent/src/NSmlAgentBase.cpp	Tue Feb 02 00:44:00 2010 +0200
+++ b/syncmlfw/common/syncagent/src/NSmlAgentBase.cpp	Fri Feb 19 23:41:35 2010 +0200
@@ -1900,7 +1900,10 @@
 	if(iPacketDataUnAvailable)
 	{
 		DBG_FILE(_S8("CNSmlAgentBase::FinaliseWhenErrorL Prompting for a Dialog"));
-		iError->SetErrorCode( TNSmlError::ESmlCommunicationError);		
+		if (iError)
+			{
+			iError->SetErrorCode( TNSmlError::ESmlCommunicationError);		
+			}
 		User::RequestComplete( iCallerStatus, TNSmlError::ESmlCommunicationError );
 	}
 	//RD_AUTO_RESTART