Changeset 3e66428 in mainline for uspace/app/nettest1/nettest1.c
- Timestamp:
- 2013-06-20T14:10:51Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19a4f73
- Parents:
- b49d872
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest1.c
rb49d872 r3e66428 359 359 return rc; 360 360 } 361 362 address_in.sin_addr.s_addr = host2uint32_t_be(hinfo->addr.ipv4); 361 362 rc = inet2_addr_sockaddr_in(&hinfo->addr, &address_in); 363 if (rc != EOK) { 364 printf("Host '%s' not resolved as IPv4 address.\n", argv[argc - 1]); 365 return rc; 366 } 363 367 } 364 368
Note:
See TracChangeset
for help on using the changeset viewer.