1
1

Indentation + set the maximum amount of data packed/unpacked to zero if we call the convertor after

we finish the conversion.

This commit was SVN r4112.
Этот коммит содержится в:
George Bosilca
2005-01-22 20:11:59 +00:00
родитель e8a418830b
Коммит 6fcc85a70f

Просмотреть файл

@ -227,6 +227,7 @@ static inline int32_t ompi_convertor_pack( ompi_convertor_t* pConv,
if( pConv->bConverted == (pConv->pDesc->size * pConv->count) ) {
iov[0].iov_len = 0;
*out_size = 0;
*max_data = 0;
return 1; /* nothing to do */
}
@ -247,6 +248,7 @@ static inline int32_t ompi_convertor_unpack( ompi_convertor_t* pConv,
/* protect against over unpacking data */
if( pConv->bConverted == (pData->size * pConv->count) ) {
iov[0].iov_len = 0;
out_size = 0;
*max_data = 0;
return 1; /* nothing to do */
}