Skip to content
Commit 9aad91ab authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

gaih_inet: Simplify service resolution



Refactor the code to split out the service resolution code into a
separate function.  Allocate the service tuples array just once to the
size of the typeproto array, thus avoiding the unnecessary pointer
chasing and stack allocations.

Signed-off-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
(cherry picked from commit 8d6cf99f)
parent d02808de
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