Skip to content

Commit 125ae8d

Browse files
committed
fix a missing part of patch
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent a4bd8f1 commit 125ae8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/datatype/opal_datatype_unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ opal_generic_simple_unpack_function( opal_convertor_t* pConvertor,
399399
}
400400
complete_loop:
401401
assert( pElem->elem.common.type < OPAL_DATATYPE_MAX_PREDEFINED );
402-
if( 0 != iov_len_local ) {
402+
if( (pElem->elem.common.flags & OPAL_DATATYPE_FLAG_DATA) && (0 != iov_len_local) ) {
403403
unsigned char* temp = conv_ptr;
404404
/* We have some partial data here. Let's copy it into the convertor
405405
* and keep it hot until the next round.

0 commit comments

Comments
 (0)