Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/tl/tl_skel.c

    rffa2c8ef r9934f7d  
    4242#include <net/modules.h>
    4343
     44// FIXME: remove this header
     45#include <kernel/ipc/ipc_methods.h>
     46
    4447/** Default thread for new connections.
    4548 *
    46  * @param[in] iid   The initial message identifier.
    47  * @param[in] icall The initial message call structure.
     49 * @param[in] iid       The initial message identifier.
     50 * @param[in] icall     The initial message call structure.
     51 * @param[in] arg       Local argument.
    4852 *
    4953 */
    50 static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall)
     54static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall,
     55    void *arg)
    5156{
    5257        /*
     
    7782                 * result.
    7883                 */
    79                 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
    80                     (res == EHANGUP))
     84                if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP))
    8185                        return;
    8286               
     
    117121                goto out;
    118122       
    119         rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
     123        rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL);
    120124        if (rc != EOK)
    121125                goto out;
Note: See TracChangeset for help on using the changeset viewer.