--- 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