1
1

If the goal of this code was to copy the iovec and skip the first offset

bytes then it was not correct.

This commit was SVN r10388.
Этот коммит содержится в:
George Bosilca 2006-06-16 03:06:30 +00:00
родитель 93afe59226
Коммит 3f96f39e46

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

@ -279,8 +279,9 @@ do {
if(offset >= segment->seg_len) { \
offset -= segment->seg_len; \
} else { \
iov[iov_count].iov_len = segment->seg_len - seg_offset; \
iov[iov_count].iov_base = (void*)((unsigned char*)segment->seg_addr.pval + seg_offset); \
iov[iov_count].iov_len = segment->seg_len - offset; \
iov[iov_count].iov_base = (void*)((unsigned char*)segment->seg_addr.pval + offset); \
offset = 0; \
iov_count++; \
} \
} \