X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78c46677679a2dea291a739acdf387472c39e06d..cff96d166c09ca86f6ed3563bb47fbdeddfbc80a:/src/smpi/smpi_base.cpp diff --git a/src/smpi/smpi_base.cpp b/src/smpi/smpi_base.cpp index ccc85cda09..011c539613 100644 --- a/src/smpi/smpi_base.cpp +++ b/src/smpi/smpi_base.cpp @@ -805,7 +805,8 @@ int smpi_mpi_testany(int count, MPI_Request requests[], int *index, MPI_Status * nsleeps++; } } else { - flag = 0; // all requests are null or inactive, return false + //all requests are null or inactive, return true + flag = 1; smpi_empty_status(status); } xbt_dynar_free(&comms);