Skip to content
Commit c5cdb39c 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>
(cherry picked from commit 1d495912)
parent e2ec6a8d
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