diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-23 08:56:42 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-23 08:57:12 -0700 |
commit | 918ef71538fd43049496e4370eba63e3096a4933 (patch) | |
tree | 19e31312429e267a3bcec128fb7825f1e476103c /lisp/emacs-lisp/warnings.el | |
parent | c6493c68f8fd6a5e6893eb3837a1a27f8d8a98a8 (diff) | |
download | emacs-918ef71538fd43049496e4370eba63e3096a4933.tar.gz emacs-918ef71538fd43049496e4370eba63e3096a4933.tar.bz2 emacs-918ef71538fd43049496e4370eba63e3096a4933.zip |
Don’t use only last protocol from getaddrinfo
Problem reported by Ken Brown in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00483.html
* src/process.c (conv_addrinfo_to_lisp): New function.
(connect_network_socket): Arg is now a list of addrinfos, not
merely IP addresses. All uses changed. Use protocol from
each addrinfo.
(Fmake_network_process): Accumulate protocols into addrinfos
rather than just using the last one found.
(check_for_dns): Accumulate protocols here, too.
* src/process.h (struct Lisp_Process): Remove ai_protocol;
no longer needed.
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions