Commit c38c3c79 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

netmod/portals4: fix bug in setting count

Truncated message counts were incorrectly overwritten with the full
message size. Closes #2260.
Signed-off-by: default avatarAntonio J. Pena <>
parent 81beb085
......@@ -40,9 +40,9 @@ static void dequeue_req(const ptl_event_t *e)
/* truncated data */
MPIR_STATUS_SET_COUNT(rreq->status, r_len);
MPIU_ERR_SET2(rreq->status.MPI_ERROR, MPI_ERR_TRUNCATE, "**truncate", "**truncate %d %d", s_len, r_len);
} else {
MPIR_STATUS_SET_COUNT(rreq->status, s_len);
MPIR_STATUS_SET_COUNT(rreq->status, s_len);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment