Changes in uspace/srv/ns/ns.c [a46e56b:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/ns.c
ra46e56b ra35b458 49 49 #include "task.h" 50 50 51 static void ns_connection( cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)51 static void ns_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 52 52 { 53 53 ipc_call_t call; 54 cap_call_handle_t chandle;54 ipc_callid_t callid; 55 55 iface_t iface; 56 56 service_t service; … … 63 63 */ 64 64 if (service_clonable(service)) { 65 connect_to_clonable(service, iface, icall, i call_handle);65 connect_to_clonable(service, iface, icall, iid); 66 66 } else { 67 connect_to_service(service, iface, icall, i call_handle);67 connect_to_service(service, iface, icall, iid); 68 68 } 69 69 return; 70 70 } 71 71 72 async_answer_0(i call_handle, EOK);72 async_answer_0(iid, EOK); 73 73 74 74 while (true) { 75 75 process_pending_conn(); 76 76 77 c handle= async_get_call(&call);77 callid = async_get_call(&call); 78 78 if (!IPC_GET_IMETHOD(call)) 79 79 break; … … 94 94 */ 95 95 if (service_clonable(service)) { 96 register_clonable(service, phone, &call, c handle);96 register_clonable(service, phone, &call, callid); 97 97 continue; 98 98 } else { … … 107 107 id = (task_id_t) 108 108 MERGE_LOUP32(IPC_GET_ARG1(call), IPC_GET_ARG2(call)); 109 wait_for_task(id, &call, c handle);109 wait_for_task(id, &call, callid); 110 110 continue; 111 111 case NS_ID_INTRO: … … 121 121 } 122 122 123 async_answer_0(c handle, retval);123 async_answer_0(callid, retval); 124 124 } 125 125
Note:
See TracChangeset
for help on using the changeset viewer.