Changeset 3c22f70 in mainline for uspace/lib/c/generic/net/modules.c


Ignore:
Timestamp:
2011-01-24T00:14:13Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c9b742
Parents:
11bb813
Message:

Pass client task hash into async_new_connection().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/net/modules.c

    r11bb813 r3c22f70  
    143143        if (phone >= 0) {
    144144                /* Request the bidirectional connection */
     145                sysarg_t taskhash;
    145146                sysarg_t phonehash;
    146147               
    147                 rc = ipc_connect_to_me(phone, arg1, arg2, arg3, NULL,
     148                rc = ipc_connect_to_me(phone, arg1, arg2, arg3, &taskhash,
    148149                    &phonehash);
    149150                if (rc != EOK) {
     
    151152                        return rc;
    152153                }
    153                 async_new_connection(phonehash, 0, NULL, client_receiver);
     154                async_new_connection(taskhash, phonehash, 0, NULL,
     155                    client_receiver);
    154156        }
    155157       
Note: See TracChangeset for help on using the changeset viewer.