Changes in uspace/srv/ns/clonable.c [b72efe8:c7bbf029] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/clonable.c
rb72efe8 rc7bbf029 52 52 53 53 /** List of clonable-service connection requests. */ 54 static li st_t cs_req;54 static link_t cs_req; 55 55 56 56 int clonable_init(void) … … 76 76 ipc_callid_t callid) 77 77 { 78 link_t *req_link; 79 80 req_link = list_first(&cs_req); 81 if (req_link == NULL) { 78 if (list_empty(&cs_req)) { 82 79 /* There was no pending connection request. */ 83 80 printf("%s: Unexpected clonable server.\n", NAME); … … 86 83 } 87 84 88 cs_req_t *csr = list_get_instance( req_link, cs_req_t, link);89 list_remove( req_link);85 cs_req_t *csr = list_get_instance(cs_req.next, cs_req_t, link); 86 list_remove(&csr->link); 90 87 91 88 /* Currently we can only handle a single type of clonable service. */
Note:
See TracChangeset
for help on using the changeset viewer.