diff --git a/ChangeLog b/ChangeLog index 51383db8a3..38a6ca4801 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 10 21:49:43 2013 Kouhei Sutou + + * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return + value assignment. + Mon Jun 10 20:58:11 2013 NARUSE, Yui * ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c index aef0c64095..10fcf6a4fa 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