passing destNode to LrtsSendNetworkFunc.
[charm.git] / src / arch / util / machine-common-core.c
index ce14ea167198541d609b9c2f92fdb5391defb081..63808b9ada175129db232c3e86113c49f996152b 100644 (file)
@@ -537,7 +537,7 @@ void CmiFreeSendFn(int destPE, int size, char *msg) {
         }
 #endif
         CMI_DEST_RANK(msg) = CmiRankOf(destPE);
-        LrtsSendNetworkFunc(destPE, size, msg, P2P_SYNC);
+        LrtsSendNetworkFunc(destNode, size, msg, P2P_SYNC);
     }
 }
 #endif