]> code.delx.au - gnu-emacs/commit
Minor fixes for getaddrinfo_a usage
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2016 00:24:59 +0000 (16:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Mar 2016 00:25:41 +0000 (16:25 -0800)
commitf0b31080140217bf90772a39c66088069f466d8b
tree28df375e48a86b597f4a972c0804ecbf3d8b2397
parent7801999f79519326e1073be878f7ada50a492542
Minor fixes for getaddrinfo_a usage

* src/process.c (Fdelete_process): Check gai_cancel return value.
That way, there’s no need to invoke gai_error.  Check gai_suspend
return value.
(Fmake_network_process): Don’t assume gai_strerror returns a UTF-8
string.  Simplify call to connect_network_socket.
(check_for_dns): Avoid unnecessary initialization of local.
src/process.c