* 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
Родитель f6921a3cd1
Коммит e214b1b6d3
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -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> Mon Jun 10 21:49:43 2013 Kouhei Sutou <kou@cozmixng.org>
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return

Просмотреть файл

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