aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/msgpack_functions_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-05-27 20:27:33 -0400
committerJames McCoy <jamessan@jamessan.com>2017-05-27 20:27:33 -0400
commit3f85c2e43abb3e5f88745849ea35ec0c57b53784 (patch)
tree5f237027b965643b87f873653a06c28d17efb519 /test/functional/eval/msgpack_functions_spec.lua
parent156e6f274f7ecc65e07176a39eee9600d0beaaf1 (diff)
downloadrneovim-3f85c2e43abb3e5f88745849ea35ec0c57b53784.tar.gz
rneovim-3f85c2e43abb3e5f88745849ea35ec0c57b53784.tar.bz2
rneovim-3f85c2e43abb3e5f88745849ea35ec0c57b53784.zip
Server: Call uv_getaddrinfo with NULL service when no port
When using serverstart("ip.ad.d.r:") to listen on a random port, we need to abide by getaddrinfo()'s API and pass in a NULL service, rather than an empty string. When given an empty string, getaddrinfo() is free to search for a service by the given name (since the string isn't a number) which will fail. At least FreeBSD does perform this lookup.
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions