Changeset 19f24fd in mainline for uspace/srv/clip/clip.c
- Timestamp:
- 2010-02-05T22:25:52Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dafa2d04
- Parents:
- 83349b03 (diff), d42976c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/clip/clip.c
r83349b03 r19f24fd 64 64 ipc_answer_0(rid, EOK); 65 65 break; 66 case CLIPBOARD_TAG_ BLOB:67 rc = async_data_ blob_receive(&data, 0, &size);66 case CLIPBOARD_TAG_DATA: 67 rc = async_data_write_accept((void **) &data, false, 0, 0, 0, &size); 68 68 if (rc != EOK) { 69 69 ipc_answer_0(rid, rc); … … 78 78 clip_data = data; 79 79 clip_size = size; 80 clip_tag = CLIPBOARD_TAG_ BLOB;80 clip_tag = CLIPBOARD_TAG_DATA; 81 81 82 82 fibril_mutex_unlock(&clip_mtx); … … 97 97 /* Check for clipboard data tag compatibility */ 98 98 switch (IPC_GET_ARG1(*request)) { 99 case CLIPBOARD_TAG_ BLOB:99 case CLIPBOARD_TAG_DATA: 100 100 if (!async_data_read_receive(&callid, &size)) { 101 101 ipc_answer_0(callid, EINVAL); … … 104 104 } 105 105 106 if (clip_tag != CLIPBOARD_TAG_ BLOB) {107 /* So far we only understand BLOB*/106 if (clip_tag != CLIPBOARD_TAG_DATA) { 107 /* So far we only understand binary data */ 108 108 ipc_answer_0(callid, EOVERFLOW); 109 109 ipc_answer_0(rid, EOVERFLOW);
Note:
See TracChangeset
for help on using the changeset viewer.