Changeset fff7ef4 in mainline for uspace/app/ping/ping.c


Ignore:
Timestamp:
2013-04-26T07:34:42Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
48171fc4
Parents:
287d729
Message:

Make dnsr client initialization implicit (to allow for multiple consumers in the same program).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/ping/ping.c

    r287d729 rfff7ef4  
    245245        if (rc != EOK) {
    246246                /* Try interpreting as a host name */
    247                 rc = dnsr_init();
    248                 if (rc != EOK) {
    249                         printf(NAME ": Failed connecting DNS resolution "
    250                             "service (%d).\n", rc);
    251                         goto error;
    252                 }
    253 
    254247                rc = dnsr_name2host(argv[argi], &hinfo);
    255248                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.