From: Arnaud Giersch Date: Fri, 4 Oct 2013 20:59:48 +0000 (+0200) Subject: Empty status when request is NULL. X-Git-Tag: v3_9_90~40^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ccc0a86055f58d796398f25f850dffed91174dff Empty status when request is NULL. --- diff --git a/src/smpi/smpi_pmpi.c b/src/smpi/smpi_pmpi.c index e7b5d440c1..f9a06a5ce4 100644 --- a/src/smpi/smpi_pmpi.c +++ b/src/smpi/smpi_pmpi.c @@ -1378,6 +1378,7 @@ int PMPI_Test(MPI_Request * request, int *flag, MPI_Status * status) retval = MPI_ERR_ARG; } else if (*request == MPI_REQUEST_NULL) { *flag= TRUE; + smpi_empty_status(status); retval = MPI_ERR_REQUEST; } else { *flag = smpi_mpi_test(request, status);