1
1

Fix for ticket ticket #119. Do not check the type of the errhandler

-- always return a value c2f translation if it's a valid errhandler.

This commit was SVN r10357.
Этот коммит содержится в:
Jeff Squyres 2006-06-14 19:42:39 +00:00
родитель 05046e8ad2
Коммит 4d337baccf

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

@ -41,11 +41,8 @@ MPI_Fint MPI_Errhandler_c2f(MPI_Errhandler errhandler)
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
/* mapping an invalid handle to a null handle */
/* also checks errhandler type matches */
/* not invoking an error handler */
if (NULL == errhandler ||
OMPI_ERRHANDLER_TYPE_COMM != errhandler->eh_mpi_object_type) {
return OMPI_INT_2_FINT(-1);
if (NULL == errhandler) {
return OMPI_INT_2_FINT(-1);
}
}