Changes in uspace/srv/ns/task.c [166a1f57:4e00f87] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
r166a1f57 r4e00f87 34 34 #include <ipc/ipc.h> 35 35 #include <adt/hash_table.h> 36 #include < stdbool.h>36 #include <bool.h> 37 37 #include <errno.h> 38 38 #include <assert.h> … … 208 208 sysarg_t retval; 209 209 task_exit_t texit; 210 bool remove = false;211 210 212 211 ht_link_t *link = hash_table_find(&task_hash_table, &id); … … 236 235 } 237 236 238 remove = true;237 hash_table_remove_item(&task_hash_table, link); 239 238 retval = EOK; 240 239 … … 244 243 ipc_answer_2(callid, retval, texit, ht->retval); 245 244 } 246 if (remove)247 hash_table_remove_item(&task_hash_table, link);248 245 } 249 246
Note:
See TracChangeset
for help on using the changeset viewer.