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

    r287d729 rfff7ef4  
    8585        if (rc != EOK) {
    8686                /* Try interpreting as a host name */
    87                 rc = dnsr_init();
    88                 if (rc != EOK) {
    89                         printf("Failed connecting DNS resolution "
    90                             "service (%d).\n", rc);
    91                         goto error;
    92                 }
    93 
    9487                rc = dnsr_name2host(addr_s, &hinfo);
    9588                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.