Skip to content
Commit 8d6cf99f 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>
parent 30046046
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