Changeset b5cf742a in mainline for uspace/lib/c/generic/iplink.c


Ignore:
Timestamp:
2013-06-28T16:22:42Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
edf0d27
Parents:
e52b4b5
Message:

cstyle (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/iplink.c

    re52b4b5 rb5cf742a  
    9999        sysarg_t retval;
    100100        async_wait_for(req, &retval);
    101         if (retval != EOK)
    102                 return retval;
    103101       
    104         return EOK;
     102        return (int) retval;
    105103}
    106104
     
    169167static void iplink_cb_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    170168{
    171         iplink_t *iplink = (iplink_t *)arg;
    172 
     169        iplink_t *iplink = (iplink_t *) arg;
     170       
    173171        while (true) {
    174172                ipc_call_t call;
    175173                ipc_callid_t callid = async_get_call(&call);
    176 
     174               
    177175                if (!IPC_GET_IMETHOD(call)) {
    178176                        /* TODO: Handle hangup */
    179177                        return;
    180178                }
    181 
     179               
    182180                switch (IPC_GET_IMETHOD(call)) {
    183181                case IPLINK_EV_RECV:
Note: See TracChangeset for help on using the changeset viewer.