Changeset fff7ef4 in mainline for uspace/app
- Timestamp:
- 2013-04-26T07:34:42Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48171fc4
- Parents:
- 287d729
- Location:
- uspace/app
- Files:
-
- 6 edited
-
dnsres/dnsres.c (modified) (1 diff)
-
nettest1/nettest1.c (modified) (1 diff)
-
nettest2/nettest2.c (modified) (1 diff)
-
nettest3/nettest3.c (modified) (1 diff)
-
nterm/conn.c (modified) (1 diff)
-
ping/ping.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/dnsres/dnsres.c
r287d729 rfff7ef4 65 65 char *saddr; 66 66 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 74 67 if (argc != 2) { 75 68 print_syntax(); -
uspace/app/nettest1/nettest1.c
r287d729 rfff7ef4 354 354 if (rc != EOK) { 355 355 /* 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 363 356 rc = dnsr_name2host(argv[argc - 1], &hinfo); 364 357 if (rc != EOK) { -
uspace/app/nettest2/nettest2.c
r287d729 rfff7ef4 300 300 if (rc != EOK) { 301 301 /* 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 309 302 rc = dnsr_name2host(argv[argc - 1], &hinfo); 310 303 if (rc != EOK) { -
uspace/app/nettest3/nettest3.c
r287d729 rfff7ef4 78 78 if (rc != EOK) { 79 79 /* 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 87 80 rc = dnsr_name2host(argv[1], &hinfo); 88 81 if (rc != EOK) { -
uspace/app/nterm/conn.c
r287d729 rfff7ef4 85 85 if (rc != EOK) { 86 86 /* 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 94 87 rc = dnsr_name2host(addr_s, &hinfo); 95 88 if (rc != EOK) { -
uspace/app/ping/ping.c
r287d729 rfff7ef4 245 245 if (rc != EOK) { 246 246 /* Try interpreting as a host name */ 247 rc = dnsr_init();248 if (rc != EOK) {249 printf(NAME ": Failed connecting DNS resolution "250 "service (%d).\n", rc);251 goto error;252 }253 254 247 rc = dnsr_name2host(argv[argi], &hinfo); 255 248 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.
