Changeset 02a09ed in mainline for uspace/app/nettest3/nettest3.c
- Timestamp:
- 2013-06-28T20:20:03Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d24ad3
- Parents:
- edf0d27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest3/nettest3.c
redf0d27 r02a09ed 84 84 } 85 85 86 rc = inet_addr_sockaddr_in(&hinfo->addr, &addr);87 if ( rc != EOK) {86 uint16_t af = inet_addr_sockaddr_in(&hinfo->addr, &addr, NULL); 87 if (af != AF_INET) { 88 88 printf("Host '%s' not resolved as IPv4 address.\n", argv[1]); 89 89 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.