Ignore:
File:
1 edited

Legend:

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

    rb72efe8 r10477601  
    458458        while (!list_empty(&queued_calls)) {
    459459                async_call_t *call =
    460                     list_get_instance(list_first(&queued_calls), async_call_t, list);
     460                    list_get_instance(queued_calls.next, async_call_t, list);
    461461                ipc_callid_t callid =
    462462                    ipc_call_async_internal(call->u.msg.phoneid, &call->u.msg.data);
     
    511511       
    512512        link_t *item;
    513         for (item = dispatched_calls.head.next; item != &dispatched_calls.head;
     513        for (item = dispatched_calls.next; item != &dispatched_calls;
    514514            item = item->next) {
    515515                async_call_t *call =
     
    632632}
    633633
    634 /** Request cloned connection.
    635  *
    636  * @param phoneid Phone handle used for contacting the other side.
    637  *
    638  * @return Cloned phone handle on success or a negative error code.
    639  *
    640  */
    641 int ipc_connect_me(int phoneid)
    642 {
    643         sysarg_t newphid;
    644         int res = ipc_call_sync_0_5(phoneid, IPC_M_CONNECT_ME, NULL, NULL,
    645             NULL, NULL, &newphid);
    646         if (res)
    647                 return res;
    648        
    649         return newphid;
    650 }
    651 
    652634/** Request new connection.
    653635 *
Note: See TracChangeset for help on using the changeset viewer.