Changeset 22d990c in mainline for uspace/lib/c/generic/async/server.c


Ignore:
Timestamp:
2020-01-11T00:36:26Z (4 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
06599a1
Parents:
8a74512
Message:

Clean up code

Correcting order of includes. Remove unnecessary new lines. Removing
old function declaration. Typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async/server.c

    r8a74512 r22d990c  
    390390 *                    calls routed through that phone.
    391391 * @param in_task_id  Identification of the incoming connection.
    392  * @param call        Call data of the opening call. If call is NULL, it's
    393  *                    either a callback connection that was opened by
    394  *                    accepting the IPC_M_CONNECT_TO_ME call.
     392 * @param call        Call data of the opening call. If call is NULL, the
     393 *                    connection was opened by accepting the
     394 *                    IPC_M_CONNECT_TO_ME call and this function is called
     395 *                    directly by the server.
    395396 * @param handler     Connection handler.
    396397 * @param data        Client argument to pass to the connection handler.
     
    967968
    968969        // TODO: Log the error.
     970
    969971        if (call->cap_handle != CAP_NIL)
    970972                /* Unknown call from unknown phone - hang it up */
     
    17401742        async_sess_t *sess = create_session(phandle, mgmt, 0, 0, 0);
    17411743        if (sess == NULL) {
    1742                 ipc_hangup(phandle);
    1743                 async_answer_0(&call, errno);
     1744                async_answer_0(&call, ENOMEM);
    17441745        } else {
    17451746                /* Acknowledge the connected phone */
Note: See TracChangeset for help on using the changeset viewer.