1
1

Correctly update the blast fiels before the goto not after !!!

This commit was SVN r4304.
Этот коммит содержится в:
George Bosilca 2005-02-07 19:37:17 +00:00
родитель 8ac8c7252d
Коммит f1d7120757

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

@ -367,6 +367,7 @@ int ompi_convertor_pack_no_conversion( ompi_convertor_t* pConv,
iov[iov_pos].iov_len -= space_on_iovec; iov[iov_pos].iov_len -= space_on_iovec;
last_count = 0; last_count = 0;
pos_desc = -1; pos_desc = -1;
last_blength = 0;
goto end_loop; goto end_loop;
} }
pConv->stack_pos--; pConv->stack_pos--;
@ -466,8 +467,8 @@ int ompi_convertor_pack_no_conversion( ompi_convertor_t* pConv,
bConverted += saveLength; bConverted += saveLength;
space -= saveLength; space -= saveLength;
saveLength = last_blength; saveLength = last_blength;
if( ++iov_pos == (*out_size) ) goto end_loop;
last_blength = 0; last_blength = 0;
if( ++iov_pos == (*out_size) ) goto end_loop;
pDestBuf = iov[iov_pos].iov_base; pDestBuf = iov[iov_pos].iov_base;
space_on_iovec = iov[iov_pos].iov_len; space_on_iovec = iov[iov_pos].iov_len;
break; break;