Changeset 9f9c7fd in mainline
- Timestamp:
- 2010-10-16T14:50:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- faa3588
- Parents:
- 614d065
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/socket_core.c
r614d065 r9f9c7fd 564 564 565 565 // write the fragment lengths 566 ERROR_PROPAGATE(data_reply(lengths, 567 sizeof(int) * (fragments + 1))); 566 if (ERROR_OCCURRED(data_reply(lengths, 567 sizeof(int) * (fragments + 1)))) { 568 free(lengths); 569 return ERROR_CODE; 570 } 568 571 next_packet = packet; 569 572 570 573 // write the fragments 571 574 for (index = 0; index < fragments; ++index) { 572 ERROR_PROPAGATE(data_reply(packet_get_data(next_packet), 573 lengths[index])); 575 ERROR_CODE = data_reply(packet_get_data(next_packet), 576 lengths[index]); 577 if (ERROR_OCCURRED(ERROR_CODE)) { 578 free(lengths); 579 return ERROR_CODE; 580 } 574 581 next_packet = pq_next(next_packet); 575 582 }
Note:
See TracChangeset
for help on using the changeset viewer.