Skip to content
Commit 1d495912 authored by Florian Weimer's avatar Florian Weimer
Browse files

nss_dns: Rewrite _nss_dns_gethostbyname4_r using current interfaces



Introduce struct alloc_buffer to this function, and use it and
struct ns_rr_cursor in gaih_getanswer_slice.  Adjust gaih_getanswer
and gaih_getanswer_noaaaa accordingly.

Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 9caf7822
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment