Changeset d473c6b in mainline
- Timestamp:
- 2011-03-07T17:08:54Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b271e3
- Parents:
- 97ff14d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/pipesio.c
r97ff14d rd473c6b 115 115 116 116 if (data_request_rc != EOK) { 117 return (int) data_request_rc; 117 /* Prefer the return code of the opening request. */ 118 if (opening_request_rc != EOK) { 119 return (int) opening_request_rc; 120 } else { 121 return (int) data_request_rc; 122 } 118 123 } 119 124 if (opening_request_rc != EOK) { … … 331 336 332 337 if (data_request_rc != EOK) { 333 return (int) data_request_rc; 338 /* Prefer the return code of the opening request. */ 339 if (opening_request_rc != EOK) { 340 return (int) opening_request_rc; 341 } else { 342 return (int) data_request_rc; 343 } 334 344 } 335 345 if (opening_request_rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.