datacommsserver/esockserver/eintsock/ss_eintsock_msgs.inl
branchRCL_3
changeset 13 0b0e9fce0b58
parent 0 dfb7c4ff071f
--- a/datacommsserver/esockserver/eintsock/ss_eintsock_msgs.inl	Mon Mar 15 12:45:15 2010 +0200
+++ b/datacommsserver/esockserver/eintsock/ss_eintsock_msgs.inl	Wed Mar 31 23:27:09 2010 +0300
@@ -195,6 +195,10 @@
 	{
 	TParams* params = reinterpret_cast<TParams*>(ParamBlock());
 	params->iSender = aSender;
+    
+	// caution - TRuntimeCtxId assignment operator overloaded - it assumes a properly constructed destination, which it isn't here
+	// so we in-place construct it
+	new (&params->iImplCookie)Messages::TNodeId();
 	params->iImplCookie = aImplCookie;
 	}