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): Add missing return

value assignment.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2013-06-10 12:50:45 +00:00
parent 52a802a428
commit f6921a3cd1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Jun 10 21:49:43 2013 Kouhei Sutou <kou@cozmixng.org>
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
value assignment.
Mon Jun 10 20:58:11 2013 NARUSE, Yui <naruse@ruby-lang.org>
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu

View file

@ -159,7 +159,7 @@ nogvl_getaddrinfo(void *arg)
{
int ret;
struct getaddrinfo_arg *ptr = arg;
getaddrinfo(ptr->node, ptr->service,
ret = getaddrinfo(ptr->node, ptr->service,
ptr->hints, ptr->res);
#ifdef __linux__
/* On Linux (mainly Ubuntu 13.04) /etc/nsswitch.conf has mdns4 and