summaryrefslogtreecommitdiff
path: root/ext/socket/raddrinfo.c
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-10 12:50:45 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-10 12:50:45 +0000
commitf6921a3cd1d6daa3a8d5965a77c1a95f8ac20384 (patch)
tree4586b2c0d92deabf2b3a79d3f0a2a87db5ce7a2c /ext/socket/raddrinfo.c
parent52a802a4285647a8dfce77c0dd5ded1c4532fd73 (diff)
* 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
Diffstat (limited to 'ext/socket/raddrinfo.c')
-rw-r--r--ext/socket/raddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c
index aef0c64..10fcf6a 100644
--- a/ext/socket/raddrinfo.c
+++ b/ext/socket/raddrinfo.c
@@ -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