]> git.eshelyaron.com Git - emacs.git/commit
Refactor getaddrinfo usage
authorRobert Pluim <rpluim@gmail.com>
Tue, 17 Jul 2018 11:08:12 +0000 (13:08 +0200)
committerRobert Pluim <rpluim@gmail.com>
Tue, 17 Jul 2018 11:08:12 +0000 (13:08 +0200)
commitadff0d5f75d4b3a74816527edb9ebe997c2089f3
tree677c7644375cfcb825d2540b2e33970cb4ba46f9
parente89c06e8cea429620bc2cf4a98b9b741861b811a
Refactor getaddrinfo usage

* src/process.c:
(network_lookup_address_info_1): New function, does most of the
work to call getaddrinfo.  Now checks hostname for pure-ASCII.
(Fmake_network_process): Use it.
(Fnetwork_lookup_address_info): Likewise.  Error check family
argument.
src/process.c