diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-11-02 04:07:12 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-11-02 04:07:12 -0400 |
commit | 7b5beabceb3ae644acf793a249bbf564faf1ebe6 (patch) | |
tree | 19705c6b4c1118a10123787f3add7dee46fb8b63 /src/complex | |
parent | f9fb20b42da0e755d93de229a5a737d79a0e8f60 (diff) | |
download | musl-7b5beabceb3ae644acf793a249bbf564faf1ebe6.tar.gz musl-7b5beabceb3ae644acf793a249bbf564faf1ebe6.tar.xz musl-7b5beabceb3ae644acf793a249bbf564faf1ebe6.zip |
fix regression in inet_aton due to misinterpretation of __ipparse return
inet_aton returns a boolean success value, whereas __ipparse returns 0 on success and -1 on failure. also change the conditional in inet_addr to be consistent with other uses of __ipparse where only negative values are treated as failure.
Diffstat (limited to 'src/complex')
0 files changed, 0 insertions, 0 deletions