Changing CharmStrategy and DirectMulticastStrategy to use the strategy_handler
[charm.git] / src / ck-com / BroadcastStrategy.C
index 9931d5b094cfbe95de1899ce04af3f98f86deb50..985ba6c8d3edc50234b3284a80d8803d79ed5b96 100644 (file)
@@ -75,7 +75,8 @@ void BroadcastStrategy::insertMessage(CharmMessageHolder *cmsg){
         //conv_header->root = CkMyPe();
         conv_header->xhdl = CkMyPe();
     
-    handleMessage((char *)UsrToEnv(msg));
+    CkPackMessage(&env);
+    handleMessage((char *) env);
     
     delete cmsg;
 }