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/inet_legacy.c | |
parent | ebb4cc0fec110edc7caf5ae545bfb816565a060d (diff) | |
download | musl-38b9c0274974a1b9941adb2e59238b153704151f.tar.gz musl-38b9c0274974a1b9941adb2e59238b153704151f.tar.bz2 musl-38b9c0274974a1b9941adb2e59238b153704151f.tar.xz musl-38b9c0274974a1b9941adb2e59238b153704151f.zip |
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/inet_legacy.c')
0 files changed, 0 insertions, 0 deletions