Changeset fff7ef4 in mainline for uspace/app/nettest3/nettest3.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/nettest3/nettest3.c

    r287d729 rfff7ef4  
    7878                if (rc != EOK) {
    7979                        /* Try interpreting as a host name */
    80                         rc = dnsr_init();
    81                         if (rc != EOK) {
    82                                 printf("Failed connecting DNS resolution "
    83                                     "service (%d).\n", rc);
    84                                 return rc;
    85                         }
    86 
    8780                        rc = dnsr_name2host(argv[1], &hinfo);
    8881                        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.