From f7d7b2be15a6948e5344500b63da95a969b41595 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 6 Jan 2005 00:03:44 +0000 Subject: [PATCH] Dont forget to correctly return the amount of data converted in the max_data. This commit was SVN r3906. --- src/datatype/dt_unpack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/datatype/dt_unpack.c b/src/datatype/dt_unpack.c index dd7676ebe4..1070e60309 100644 --- a/src/datatype/dt_unpack.c +++ b/src/datatype/dt_unpack.c @@ -352,6 +352,7 @@ static int ompi_convertor_unpack_homogeneous_contig( ompi_convertor_t* pConv, } iov[0].iov_len = bConverted; pConv->bConverted += bConverted; + *max_data = bConverted; return (pConv->bConverted == (pData->size * pConv->count)); }