DescriptionHandle h_addr in a more libc independent way.
Which glibc defines h_addr as a macro to h_addr_list[0],
newlib has a separate h_addr member in struct hostent.
To correctly handle this, h_addr should be set to match h_addr_list[0].
BUG=None
R=binji@chromium.org
TEST=bots
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270026
Patch Set 1 #
Total comments: 4
Patch Set 2 : fix #
Total comments: 1
Patch Set 3 : fix #Patch Set 4 : merge #Patch Set 5 : fix #
Messages
Total messages: 7 (0 generated)
|