From c142c23f88d7b44a4bf01564f4841baf5d53bbf5 Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Tue, 5 Jun 2007 09:50:06 +0000 Subject: [PATCH] Initialize req_ompi.req_status._count to be 0 before starting the request. This commit was SVN r14861. --- ompi/mca/pml/base/pml_base_recvreq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ompi/mca/pml/base/pml_base_recvreq.h b/ompi/mca/pml/base/pml_base_recvreq.h index 29dead93d8..36f5756ac1 100644 --- a/ompi/mca/pml/base/pml_base_recvreq.h +++ b/ompi/mca/pml/base/pml_base_recvreq.h @@ -102,6 +102,7 @@ OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_pml_base_recv_request_t); (request)->req_ompi.req_status.MPI_SOURCE = OMPI_ANY_SOURCE; \ (request)->req_ompi.req_status.MPI_TAG = OMPI_ANY_TAG; \ (request)->req_ompi.req_status.MPI_ERROR = OMPI_SUCCESS; \ + (request)->req_ompi.req_status._count = 0; \ (request)->req_ompi.req_status._cancelled = 0; \ \ (request)->req_ompi.req_complete = false; \