Changeset 925a21e in mainline for uspace/lib/c/generic/ns.c


Ignore:
Timestamp:
2011-09-24T14:20:29Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5bf76c1
Parents:
867e2555 (diff), 1ab4aca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ns.c

    r867e2555 r925a21e  
    5252{
    5353        async_exch_t *exch = async_exchange_begin(session_ns);
     54        if (!exch)
     55                return NULL;
    5456        async_sess_t *sess =
    5557            async_connect_me_to(mgmt, exch, service, arg2, arg3);
    5658        async_exchange_end(exch);
     59
     60        if (!sess)
     61                return NULL;
     62       
     63        /*
     64         * FIXME Ugly hack to work around limitation of implementing
     65         * parallel exchanges using multiple connections. Shift out
     66         * first argument for non-initial connections.
     67         */
     68        async_sess_args_set(sess, arg2, arg3, 0);
    5769       
    5870        return sess;
     
    6678            async_connect_me_to_blocking(mgmt, exch, service, arg2, arg3);
    6779        async_exchange_end(exch);
     80       
     81        /*
     82         * FIXME Ugly hack to work around limitation of implementing
     83         * parallel exchanges using multiple connections. Shift out
     84         * first argument for non-initial connections.
     85         */
     86        async_sess_args_set(sess, arg2, arg3, 0);
    6887       
    6988        return sess;
Note: See TracChangeset for help on using the changeset viewer.