Changeset 2133e02 in mainline for uspace/srv/ns/service.c
- Timestamp:
- 2015-08-18T20:14:05Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a522e5
- Parents:
- 84dc30c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/service.c
r84dc30c r2133e02 39 39 #include "service.h" 40 40 #include "ns.h" 41 42 41 43 42 /** Service hash table item. */ … … 84 83 sysarg_t service; /**< Number of the service. */ 85 84 ipc_callid_t callid; /**< Call ID waiting for the connection */ 86 sysarg_t arg2; /**< Secondargument */85 sysarg_t iface; /**< Interface argument */ 87 86 sysarg_t arg3; /**< Third argument */ 88 87 } pending_conn_t; … … 112 111 113 112 hashed_service_t *hs = hash_table_get_inst(link, hashed_service_t, link); 114 (void) ipc_forward_fast(pr->callid, hs->phone, pr-> arg2,115 pr->arg3, 0,IPC_FF_NONE);113 (void) ipc_forward_fast(pr->callid, hs->phone, pr->iface, pr->arg3, 0, 114 IPC_FF_NONE); 116 115 117 116 list_remove(&pr->link); … … 174 173 pr->service = service; 175 174 pr->callid = callid; 176 pr-> arg2 = IPC_GET_ARG2(*call);175 pr->iface = IPC_GET_ARG1(*call); 177 176 pr->arg3 = IPC_GET_ARG3(*call); 178 177 list_append(&pr->link, &pending_conn); 179 178 return; 180 179 } 180 181 181 retval = ENOENT; 182 182 goto out; … … 184 184 185 185 hashed_service_t *hs = hash_table_get_inst(link, hashed_service_t, link); 186 (void) ipc_forward_fast(callid, hs->phone, IPC_GET_ARG 2(*call),186 (void) ipc_forward_fast(callid, hs->phone, IPC_GET_ARG1(*call), 187 187 IPC_GET_ARG3(*call), 0, IPC_FF_NONE); 188 188 return;
Note:
See TracChangeset
for help on using the changeset viewer.