Changes in uspace/srv/clip/clip.c [228e490:ed903174] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/clip/clip.c
r228e490 red903174 118 118 } 119 119 120 sysarg_t retval = async_data_read_finalize(callid, clip_data, size);120 ipcarg_t retval = async_data_read_finalize(callid, clip_data, size); 121 121 if (retval != EOK) { 122 122 ipc_answer_0(rid, retval); … … 145 145 146 146 fibril_mutex_unlock(&clip_mtx); 147 ipc_answer_2(rid, EOK, ( sysarg_t) size, (sysarg_t) tag);147 ipc_answer_2(rid, EOK, (ipcarg_t) size, (ipcarg_t) tag); 148 148 } 149 149 … … 158 158 ipc_callid_t callid = async_get_call(&call); 159 159 160 switch (IPC_GET_ IMETHOD(call)) {160 switch (IPC_GET_METHOD(call)) { 161 161 case IPC_M_PHONE_HUNGUP: 162 162 cont = false; … … 172 172 break; 173 173 default: 174 ipc_answer_0(callid, ENOENT); 174 if (!(callid & IPC_CALLID_NOTIFICATION)) 175 ipc_answer_0(callid, ENOENT); 175 176 } 176 177 } … … 183 184 async_set_client_connection(clip_connection); 184 185 185 sysarg_t phonead;186 ipcarg_t phonead; 186 187 if (ipc_connect_to_me(PHONE_NS, SERVICE_CLIPBOARD, 0, 0, &phonead) != 0) 187 188 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.