Changeset 22d990c in mainline for uspace/lib/c/generic/async/server.c
- Timestamp:
- 2020-01-11T00:36:26Z (4 years ago)
- Children:
- 06599a1
- Parents:
- 8a74512
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/server.c
r8a74512 r22d990c 390 390 * calls routed through that phone. 391 391 * @param in_task_id Identification of the incoming connection. 392 * @param call Call data of the opening call. If call is NULL, it's 393 * either a callback connection that was opened by 394 * accepting the IPC_M_CONNECT_TO_ME call. 392 * @param call Call data of the opening call. If call is NULL, the 393 * connection was opened by accepting the 394 * IPC_M_CONNECT_TO_ME call and this function is called 395 * directly by the server. 395 396 * @param handler Connection handler. 396 397 * @param data Client argument to pass to the connection handler. … … 967 968 968 969 // TODO: Log the error. 970 969 971 if (call->cap_handle != CAP_NIL) 970 972 /* Unknown call from unknown phone - hang it up */ … … 1740 1742 async_sess_t *sess = create_session(phandle, mgmt, 0, 0, 0); 1741 1743 if (sess == NULL) { 1742 ipc_hangup(phandle); 1743 async_answer_0(&call, errno); 1744 async_answer_0(&call, ENOMEM); 1744 1745 } else { 1745 1746 /* Acknowledge the connected phone */
Note:
See TracChangeset
for help on using the changeset viewer.