Changeset 9e40d443 in mainline for uspace/lib/hound/src/protocol.c
- Timestamp:
- 2013-04-04T16:35:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b33db8e
- Parents:
- 5029c788
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/src/protocol.c
r5029c788 r9e40d443 511 511 ipc_call_t call; 512 512 size_t size = 0; 513 while (async_data_read_receive_call(&callid, &call, &size)) { 513 while (async_data_read_receive_call(&callid, &call, &size) 514 || (IPC_GET_IMETHOD(call) == IPC_M_HOUND_STREAM_DRAIN)) { 515 if (IPC_GET_IMETHOD(call) == IPC_M_HOUND_STREAM_DRAIN) { 516 int ret = ENOTSUP; 517 if (server_iface->drain_stream) 518 ret = server_iface->drain_stream(stream); 519 async_answer_0(callid, ret); 520 continue; 521 } 514 522 char *buffer = malloc(size); 515 523 if (!buffer) {
Note:
See TracChangeset
for help on using the changeset viewer.