datacommsserver/esockserver/ssock/ss_connstates.cpp
branchRCL_3
changeset 13 98a7181d2ce7
parent 9 77effd21b2c9
child 14 8b5d60ce1e94
--- a/datacommsserver/esockserver/ssock/ss_connstates.cpp	Sat Feb 20 00:01:55 2010 +0200
+++ b/datacommsserver/esockserver/ssock/ss_connstates.cpp	Fri Mar 12 15:49:41 2010 +0200
@@ -730,6 +730,11 @@
 			{
 			msg->iStateChange.iStage = KConnectionUp;	// KLinkLayerOpen
 			}
+		//TODO: Verify if this (connection) is the right place to translate the error
+		if (msg->iStateChange.iError == KErrForceDisconnected)
+			{
+            msg->iStateChange.iError = KErrDisconnected;
+			}
 		if (selectedProgressStage == KConnProgressDefault
 			|| selectedProgressStage == msg->iStateChange.iStage
 				|| KErrNone != msg->iStateChange.iError)