1
1

One more param test (the status cannot be NULL).

This commit was SVN r4523.
Этот коммит содержится в:
George Bosilca 2005-02-24 00:13:27 +00:00
родитель 33f62c7f75
Коммит e5d4e90b56

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

@ -39,7 +39,7 @@ int MPI_Request_get_status(MPI_Request request, int *flag,
{
if( MPI_PARAM_CHECK ) {
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
if( NULL == flag ) {
if( (NULL == flag) || (NULL == status) ) {
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_ARG, FUNC_NAME);
}
}