From 673eb325f12bcb22dbeeb1d33b954a8a05fb7bb1 Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Thu, 22 Apr 2004 19:27:59 +0000 Subject: [PATCH] allow for non-fragmented message This commit was SVN r1082. --- src/mca/pml/teg/src/pml_teg_sendreq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mca/pml/teg/src/pml_teg_sendreq.h b/src/mca/pml/teg/src/pml_teg_sendreq.h index 2ccbac75ab..495d8a3bf3 100644 --- a/src/mca/pml/teg/src/pml_teg_sendreq.h +++ b/src/mca/pml/teg/src/pml_teg_sendreq.h @@ -49,7 +49,7 @@ static inline int mca_pml_teg_send_request_start( int flags, rc; /* start the first fragment */ - if(req->req_bytes_msg <= first_fragment_size) { + if(first_fragment_size <= 0 || req->req_bytes_msg <= first_fragment_size) { first_fragment_size = req->req_bytes_msg; flags = (req->req_send_mode == MCA_PML_BASE_SEND_SYNCHRONOUS) ? MCA_PTL_FLAGS_ACK_MATCHED : 0; } else {