]> git.ipfire.org Git - thirdparty/glibc.git/commit
gaiconf_init: Refactor some bits for readability
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 27 Jul 2021 17:19:53 +0000 (22:49 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 22 Mar 2022 14:11:42 +0000 (19:41 +0530)
commit06890c7ba553e82393413c59bb3131db5815a337
tree69065d49603e4927f51d5fc5c52eec33083d2e43
parentb587456c0e7b59dcfdbd2d44db000a3bc8244e57
gaiconf_init: Refactor some bits for readability

Split out line processing for `label`, `precedence` and `scopev4` into
separate functions instead of the gotos.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
sysdeps/posix/getaddrinfo.c