Ignore:
File:
1 edited

Legend:

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

    rd1e18573 r9934f7d  
    5252{
    5353        async_exch_t *exch = async_exchange_begin(session_ns);
    54         if (!exch)
    55                 return NULL;
    5654        async_sess_t *sess =
    5755            async_connect_me_to(mgmt, exch, service, arg2, arg3);
    5856        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);
    6957       
    7058        return sess;
     
    7866            async_connect_me_to_blocking(mgmt, exch, service, arg2, arg3);
    7967        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);
    8768       
    8869        return sess;
Note: See TracChangeset for help on using the changeset viewer.