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

    r287d729 rfff7ef4  
    6565        char *saddr;
    6666
    67         rc = dnsr_init();
    68         if (rc != EOK) {
    69                 printf(NAME ": Failed connecting to DNS resolution service "
    70                     "(%d).\n", rc);
    71                 return 1;
    72         }
    73 
    7467        if (argc != 2) {
    7568                print_syntax();
Note: See TracChangeset for help on using the changeset viewer.