Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2662 → Rev 2663

/trunk/uspace/lib/libc/generic/ipc.c
689,7 → 689,8
*
* @param callid Storage where the hash of the IPC_M_DATA_READ call will
* be stored.
* @param size Storage where the maximum size will be stored.
* @param size Storage where the maximum size will be stored. Can be
* NULL.
*
* @return Non-zero on success, zero on failure.
*/
702,8 → 703,8
*callid = async_get_call(&data);
if (IPC_GET_METHOD(data) != IPC_M_DATA_READ)
return 0;
assert(size);
*size = (size_t) IPC_GET_ARG2(data);
if (size)
*size = (size_t) IPC_GET_ARG2(data);
return 1;
}