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


Ignore:
Timestamp:
2013-04-26T07:34:42Z (11 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/nettest2/nettest2.c

    r287d729 rfff7ef4  
    300300        if (rc != EOK) {
    301301                /* Try interpreting as a host name */
    302                 rc = dnsr_init();
    303                 if (rc != EOK) {
    304                         printf("Failed connecting DNS resolution "
    305                             "service (%d).\n", rc);
    306                         return rc;
    307                 }
    308 
    309302                rc = dnsr_name2host(argv[argc - 1], &hinfo);
    310303                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.