1
1

Only access the status and message if the flag is true.

This commit was SVN r25936.
Этот коммит содержится в:
Jeff Squyres 2012-02-15 20:16:51 +00:00
родитель 2b1320e065
Коммит 0c6f4fbce5

Просмотреть файл

@ -98,11 +98,13 @@ void mpi_improbe_f(MPI_Fint *source, MPI_Fint *tag, MPI_Fint *comm,
if (MPI_SUCCESS == OMPI_FINT_2_INT(*ierr)) {
OMPI_SINGLE_INT_2_LOGICAL(flag);
if (OMPI_FORTRAN_VALUE_TRUE == *flag) {
#if OMPI_SIZEOF_FORTRAN_INTEGER != SIZEOF_INT
if (MPI_STATUS_IGNORE != c_status) {
MPI_Status_c2f(c_status, status);
}
if (MPI_STATUS_IGNORE != c_status) {
MPI_Status_c2f(c_status, status);
}
#endif
*message = MPI_Message_c2f(c_message);
*message = MPI_Message_c2f(c_message);
}
}
}