summaryrefslogtreecommitdiff
path: root/libc/inet/bind.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-20 18:49:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-20 18:55:46 +0200
commit40f8f5f0336ddcd6f7ea2d45d4713b553a225843 (patch)
tree21355df50f86ab73c4abbdba8031b4c9f40bbd0f /libc/inet/bind.c
parent984e1c1e44e3a6de236ab5d8850863a1f995b4e2 (diff)
gethostbyname_r: set correct h_errno upon failure
previously gethostbyname_r(ipv6.google.com);herror("ERROR:") gave Answer name = |ipv6.google.com| Answer type = |5| herrno=1 h_errno=0 ERROR:: Error 0 herrno=1 h_errno=1 ERROR:: Unknown host Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/bind.c')
0 files changed, 0 insertions, 0 deletions