Changeset bb97118 in mainline for uspace/lib/c/generic/async/server.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb13ef8
Parents:
d066259
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 13:29:26)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Convert CAP_HANDLE_RAW and CAP_HANDLE_VALID into functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async/server.c

    rd066259 rbb97118  
    17351735
    17361736        if ((IPC_GET_IMETHOD(call) != IPC_M_CONNECT_TO_ME) ||
    1737             !CAP_HANDLE_VALID((phandle))) {
     1737            !cap_handle_valid((phandle))) {
    17381738                async_answer_0(&call, EINVAL);
    17391739                return NULL;
     
    17791779
    17801780        if ((IPC_GET_IMETHOD(*call) != IPC_M_CONNECT_TO_ME) ||
    1781             !CAP_HANDLE_VALID((phandle)))
     1781            !cap_handle_valid((phandle)))
    17821782                return NULL;
    17831783
     
    18131813        assert(call);
    18141814
    1815         return async_answer_1(call, EOK, CAP_HANDLE_RAW(other_exch->phone));
     1815        return async_answer_1(call, EOK, cap_handle_raw(other_exch->phone));
    18161816}
    18171817
Note: See TracChangeset for help on using the changeset viewer.