Changeset 82cd2e0 in mainline
- Timestamp:
- 2018-10-31T06:03:38Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- faf19d4
- Parents:
- 53ee7a0
- git-author:
- Jakub Jermar <jakub@…> (2018-10-28 14:28:41)
- git-committer:
- Jakub Jermar <jakub@…> (2018-10-31 06:03:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r53ee7a0 r82cd2e0 926 926 window_t *win = window_create(); 927 927 if (!win) { 928 async_answer_ 2(&call, ENOMEM, 0, 0);928 async_answer_0(&call, EHANGUP); 929 929 fibril_mutex_unlock(&window_list_mtx); 930 930 return; … … 945 945 if (loc_service_register(name_in, &win->in_dsid) != EOK) { 946 946 window_destroy(win); 947 async_answer_ 2(&call, EINVAL, 0, 0);947 async_answer_0(&call, EHANGUP); 948 948 fibril_mutex_unlock(&window_list_mtx); 949 949 return; … … 953 953 loc_service_unregister(win->in_dsid); 954 954 window_destroy(win); 955 async_answer_ 2(&call, EINVAL, 0, 0);955 async_answer_0(&call, EHANGUP); 956 956 fibril_mutex_unlock(&window_list_mtx); 957 957 return; … … 974 974 } 975 975 976 return; 977 } else { 978 async_answer_0(&call, EINVAL); 979 return; 980 } 976 async_get_call(&call); 977 } 978 async_answer_0(&call, EHANGUP); 979 return; 981 980 } 982 981
Note:
See TracChangeset
for help on using the changeset viewer.