Ignore:
File:
1 edited

Legend:

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

    r9934f7d rffa2c8ef  
    4242#include <net/modules.h>
    4343
    44 // FIXME: remove this header
    45 #include <kernel/ipc/ipc_methods.h>
    46 
    4744/** Default thread for new connections.
    4845 *
    49  * @param[in] iid       The initial message identifier.
    50  * @param[in] icall     The initial message call structure.
    51  * @param[in] arg       Local argument.
     46 * @param[in] iid   The initial message identifier.
     47 * @param[in] icall The initial message call structure.
    5248 *
    5349 */
    54 static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall,
    55     void *arg)
     50static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall)
    5651{
    5752        /*
     
    8277                 * result.
    8378                 */
    84                 if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP))
     79                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
     80                    (res == EHANGUP))
    8581                        return;
    8682               
     
    121117                goto out;
    122118       
    123         rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL);
     119        rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
    124120        if (rc != EOK)
    125121                goto out;
Note: See TracChangeset for help on using the changeset viewer.