From a9db439a86e65906ab33798dda3a2f93ddb4c6f8 Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Wed, 20 Oct 2004 21:47:44 +0000 Subject: [PATCH] return correct status This commit was SVN r3244. --- src/mpi/c/waitsome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpi/c/waitsome.c b/src/mpi/c/waitsome.c index 6b05a656dd..26702f5935 100644 --- a/src/mpi/c/waitsome.c +++ b/src/mpi/c/waitsome.c @@ -48,7 +48,7 @@ int MPI_Waitsome(int incount, MPI_Request *requests, *outcount = 1; indices[0] = index; if( MPI_STATUSES_IGNORE != statuses ) { - statuses[index] = status; + statuses[0] = status; } } return MPI_SUCCESS;