Changeset a46e56b in mainline for uspace/srv/hid/remcons/remcons.c


Ignore:
Timestamp:
2018-03-22T06:49:35Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/remcons.c

    r3e242d2 ra46e56b  
    216216
    217217/** Callback when client connects to a telnet terminal. */
    218 static void client_connection(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
     218static void client_connection(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
    219219{
    220220        /* Find the user. */
    221221        telnet_user_t *user = telnet_user_get_for_client_connection(IPC_GET_ARG2(*icall));
    222222        if (user == NULL) {
    223                 async_answer_0(iid, ENOENT);
     223                async_answer_0(icall_handle, ENOENT);
    224224                return;
    225225        }
    226226
    227227        /* Handle messages. */
    228         con_conn(iid, icall, &user->srvs);
     228        con_conn(icall_handle, icall, &user->srvs);
    229229}
    230230
Note: See TracChangeset for help on using the changeset viewer.