From 0625ead54a8abefee87a51dd9d8a419ce6cd3a3d Mon Sep 17 00:00:00 2001
From: Ralph Castain <rhc@open-mpi.org>
Date: Fri, 29 Sep 2006 21:10:48 +0000
Subject: [PATCH] Fix comm_spawn communications

This commit was SVN r11900.
---
 orte/mca/rmgr/proxy/rmgr_proxy.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/orte/mca/rmgr/proxy/rmgr_proxy.c b/orte/mca/rmgr/proxy/rmgr_proxy.c
index cb3a92e43a..9152f28dc0 100644
--- a/orte/mca/rmgr/proxy/rmgr_proxy.c
+++ b/orte/mca/rmgr/proxy/rmgr_proxy.c
@@ -91,6 +91,14 @@ static int orte_rmgr_proxy_setup_job(
 
     /* construct command */
     OBJ_CONSTRUCT(&cmd, orte_buffer_t);
+
+    /* pack the command */
+    if (ORTE_SUCCESS != (rc = orte_dss.pack(&cmd, &command, 1, ORTE_RMGR_CMD))) {
+        ORTE_ERROR_LOG(rc);
+        OBJ_DESTRUCT(&cmd);
+        return rc;
+    }
+    
     /* pack the number of app_contexts */
     if(ORTE_SUCCESS != (rc = orte_dss.pack(&cmd, &num_context, 1, ORTE_STD_CNTR))) {
         ORTE_ERROR_LOG(rc);