diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-01-27 15:54:29 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-01-27 15:54:29 +0100 |
commit | 118eb0a68ce3250aa4528e6086b2bd0567e7638c (patch) | |
tree | 72c50c6702ed40f037ece60544690534918131bb /.gitattributes | |
parent | f31b2026b4732e57f88af14796ac0dea4b2d0131 (diff) | |
download | irssi-118eb0a68ce3250aa4528e6086b2bd0567e7638c.zip |
Call getnameinfo with NI_NAMEREQD flag.
This way net_gethostbyaddr will fail when the system is unable to
resolve the address to a valid host name.
Without this flag in case of failure the function would return the ip
address instead of failing.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions