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