From 1aa558558ddefa2979f96da6362526ac1f1cc086 Mon Sep 17 00:00:00 2001 From: Rolf vandeVaart Date: Tue, 9 Nov 2010 18:51:32 +0000 Subject: [PATCH] Add some parentheses to keep PMLs consistent. This commit was SVN r24021. --- ompi/mca/pml/csum/pml_csum_sendreq.c | 3 ++- ompi/mca/pml/ob1/pml_ob1_sendreq.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ompi/mca/pml/csum/pml_csum_sendreq.c b/ompi/mca/pml/csum/pml_csum_sendreq.c index f1ec2358b7..c69a74c254 100644 --- a/ompi/mca/pml/csum/pml_csum_sendreq.c +++ b/ompi/mca/pml/csum/pml_csum_sendreq.c @@ -327,8 +327,9 @@ mca_pml_csum_frag_completion( mca_btl_base_module_t* btl, OPAL_THREAD_ADD_SIZE_T(&sendreq->req_pipeline_depth, -1); OPAL_THREAD_ADD_SIZE_T(&sendreq->req_bytes_delivered, req_bytes_delivered); - if(send_request_pml_complete_check(sendreq) == false) + if(send_request_pml_complete_check(sendreq) == false) { mca_pml_csum_send_request_schedule(sendreq); + } /* check for pending requests */ MCA_PML_CSUM_PROGRESS_PENDING(bml_btl); diff --git a/ompi/mca/pml/ob1/pml_ob1_sendreq.c b/ompi/mca/pml/ob1/pml_ob1_sendreq.c index b9fb5923c1..7dacb5be72 100644 --- a/ompi/mca/pml/ob1/pml_ob1_sendreq.c +++ b/ompi/mca/pml/ob1/pml_ob1_sendreq.c @@ -315,8 +315,9 @@ mca_pml_ob1_frag_completion( mca_btl_base_module_t* btl, OPAL_THREAD_ADD_SIZE_T(&sendreq->req_pipeline_depth, -1); OPAL_THREAD_ADD_SIZE_T(&sendreq->req_bytes_delivered, req_bytes_delivered); - if(send_request_pml_complete_check(sendreq) == false) + if(send_request_pml_complete_check(sendreq) == false) { mca_pml_ob1_send_request_schedule(sendreq); + } /* check for pending requests */ MCA_PML_OB1_PROGRESS_PENDING(bml_btl);