Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2533 → Rev 2534

/trunk/uspace/lib/libc/generic/async.c
457,6 → 457,9
*
* @param in_phone_hash Identification of the incoming connection.
* @param callid Hash of the opening IPC_M_CONNECT_ME_TO call.
* If callid is zero, the connection was opened by
* accepting the IPC_M_CONNECT_TO_ME call and this function
* is called directly by the server.
* @param call Call data of the opening call.
* @param cfibril Fibril function that should be called upon opening the
* connection.
471,6 → 474,7
 
conn = malloc(sizeof(*conn));
if (!conn) {
if (callid)
ipc_answer_fast(callid, ENOMEM, 0, 0);
return NULL;
}
486,6 → 490,7
conn->wdata.fid = fibril_create(connection_fibril, conn);
if (!conn->wdata.fid) {
free(conn);
if (callid)
ipc_answer_fast(callid, ENOMEM, 0, 0);
return NULL;
}