diff --git a/ompi/mca/osc/rdma/osc_rdma_request.c b/ompi/mca/osc/rdma/osc_rdma_request.c index 44fe9a5e8c..eb06368937 100644 --- a/ompi/mca/osc/rdma/osc_rdma_request.c +++ b/ompi/mca/osc/rdma/osc_rdma_request.c @@ -33,7 +33,7 @@ static int request_free(struct ompi_request_t **ompi_req) ompi_osc_rdma_request_t *request = (ompi_osc_rdma_request_t*) *ompi_req; - if( REQUEST_COMPLETE(&request->super) ) { + if (!REQUEST_COMPLETE(&request->super)) { return MPI_ERR_REQUEST; }