From b4df8bcf8568017f11136bc0d0f7017f8e8feef6 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 9 Apr 2009 03:00:57 +0000 Subject: [PATCH] Missed comment... This commit was SVN r20964. --- orte/util/nidmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orte/util/nidmap.c b/orte/util/nidmap.c index 09668f5d46..3c799f6212 100644 --- a/orte/util/nidmap.c +++ b/orte/util/nidmap.c @@ -923,6 +923,9 @@ int orte_util_decode_pidmap(opal_byte_object_t *bo) n = 1; /* cycle through the buffer */ while (ORTE_SUCCESS == (rc = opal_dss.unpack(&buf, &jobid, &n, ORTE_JOBID))) { + /* refresh the base address as it may have changed if we + * added a job to the array + */ jobs = (orte_jmap_t**)orte_jobmap.addr; /* unfortunately, job objects cannot be stored * by index number as the jobid is a constructed