1
1

non-destructive read of buffer

This commit was SVN r7114.
Этот коммит содержится в:
Tim Woodall 2005-08-31 21:21:54 +00:00
родитель 227947fc51
Коммит 35f96af472
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -68,6 +68,7 @@ int mca_oob_send_packed (orte_process_name_t* peer, orte_buffer_t* buffer, int t
if(rc != ORTE_SUCCESS) {
return rc;
}
orte_dps.load(buffer, dataptr, datalen);
msg[0].iov_base = dataptr;
msg[0].iov_len = datalen;

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

@ -104,6 +104,7 @@ int mca_oob_send_packed_nb(
if (rc != ORTE_SUCCESS) {
return rc;
}
orte_dps.load(buffer, dataptr, datalen);
/* allocate a struct to pass into callback */
if(NULL == (oob_cbdata = malloc(sizeof(mca_oob_send_cbdata_t)))) {