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

    r287d729 rfff7ef4  
    354354        if (rc != EOK) {
    355355                /* Try interpreting as a host name */
    356                 rc = dnsr_init();
    357                 if (rc != EOK) {
    358                         printf("Failed connecting DNS resolution "
    359                             "service (%d).\n", rc);
    360                         return rc;
    361                 }
    362 
    363356                rc = dnsr_name2host(argv[argc - 1], &hinfo);
    364357                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.