From b1459954eb6d006aef2a41a4bad77e23e1ecd25b Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 13 Oct 2004 16:10:06 +0000 Subject: [PATCH] Do the wait on a temporary status and then copy it at the position index. This commit was SVN r3083. --- 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 fb4cbcbdb3..4fd41ac2be 100644 --- a/src/mpi/c/waitsome.c +++ b/src/mpi/c/waitsome.c @@ -40,7 +40,7 @@ int MPI_Waitsome(int incount, MPI_Request *requests, } /* optimize this in the future */ - rc = ompi_request_wait_any(incount, requests, &index, statuses); + rc = ompi_request_wait_any( incount, requests, &index, &status ); OMPI_ERRHANDLER_CHECK(rc, MPI_COMM_WORLD, rc, FUNC_NAME); if( MPI_UNDEFINED ==index ) { *outcount = MPI_UNDEFINED;