Changeset 8fa6d4c7 in mainline for uspace/lib/c/generic/ns.c


Ignore:
Timestamp:
2011-10-01T21:07:40Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60c6fe0
Parents:
c21ff31
Message:

Be more robust in service_connect_blocking().

File:
1 edited

Legend:

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

    rc21ff31 r8fa6d4c7  
    7575{
    7676        async_exch_t *exch = async_exchange_begin(session_ns);
     77        if (!exch)
     78                return NULL;
    7779        async_sess_t *sess =
    7880            async_connect_me_to_blocking(mgmt, exch, service, arg2, arg3);
    7981        async_exchange_end(exch);
     82
     83        if (!sess)
     84                return NULL;
    8085       
    8186        /*
Note: See TracChangeset for help on using the changeset viewer.