Changeset 6675c70 in mainline for uspace/lib/libc/generic/async.c
- Timestamp:
- 2007-09-20T16:38:46Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f9ede5
- Parents:
- d2d0baf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
rd2d0baf r6675c70 458 458 * @param in_phone_hash Identification of the incoming connection. 459 459 * @param callid Hash of the opening IPC_M_CONNECT_ME_TO call. 460 * If callid is zero, the connection was opened by 461 * accepting the IPC_M_CONNECT_TO_ME call and this function 462 * is called directly by the server. 460 463 * @param call Call data of the opening call. 461 464 * @param cfibril Fibril function that should be called upon opening the … … 472 475 conn = malloc(sizeof(*conn)); 473 476 if (!conn) { 474 ipc_answer_fast(callid, ENOMEM, 0, 0); 477 if (callid) 478 ipc_answer_fast(callid, ENOMEM, 0, 0); 475 479 return NULL; 476 480 } … … 487 491 if (!conn->wdata.fid) { 488 492 free(conn); 489 ipc_answer_fast(callid, ENOMEM, 0, 0); 493 if (callid) 494 ipc_answer_fast(callid, ENOMEM, 0, 0); 490 495 return NULL; 491 496 }
Note:
See TracChangeset
for help on using the changeset viewer.