1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2013-06-10 12:51:48 +00:00
parent f6921a3cd1
commit e214b1b6d3
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Mon Jun 10 21:51:03 2013 Kouhei Sutou <kou@cozmixng.org>
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
Mon Jun 10 21:49:43 2013 Kouhei Sutou <kou@cozmixng.org>
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return

View file

@ -159,8 +159,7 @@ nogvl_getaddrinfo(void *arg)
{
int ret;
struct getaddrinfo_arg *ptr = arg;
ret = getaddrinfo(ptr->node, ptr->service,
ptr->hints, ptr->res);
ret = getaddrinfo(ptr->node, ptr->service, ptr->hints, ptr->res);
#ifdef __linux__
/* On Linux (mainly Ubuntu 13.04) /etc/nsswitch.conf has mdns4 and
* it cause getaddrinfo to return EAI_SYSTEM/ENOENT. [ruby-list:49420]