diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-19 22:36:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-19 22:36:30 -0400 |
commit | 38b9c0274974a1b9941adb2e59238b153704151f (patch) | |
tree | 0fd11ed0d81ed1d3cbd4d8c2c6cc4e3ed073c7db /src/network/netname.c | |
parent | ebb4cc0fec110edc7caf5ae545bfb816565a060d (diff) | |
download | musl-38b9c0274974a1b9941adb2e59238b153704151f.tar.gz |
fix return value for inet_pton in ipv6 failure cases
in the case of input that does not match the expected form, the
correct return value is 0, not -1.
Diffstat (limited to 'src/network/netname.c')
0 files changed, 0 insertions, 0 deletions