[前][次][番号順一覧][スレッド一覧]

ruby-changes:29164

From: kou <ko1@a...>
Date: Mon, 10 Jun 2013 21:50:57 +0900 (JST)
Subject: [ruby-changes:29164] kou:r41216 (trunk): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return

kou	2013-06-10 21:50:45 +0900 (Mon, 10 Jun 2013)

  New Revision: 41216

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41216

  Log:
    * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
      value assignment.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/raddrinfo.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41215)
+++ ChangeLog	(revision 41216)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jun 10 21:49:43 2013  Kouhei Sutou  <kou@c...>
+
+	* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
+	  value assignment.
+
 Mon Jun 10 20:58:11 2013  NARUSE, Yui  <naruse@r...>
 
 	* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
Index: ext/socket/raddrinfo.c
===================================================================
--- ext/socket/raddrinfo.c	(revision 41215)
+++ ext/socket/raddrinfo.c	(revision 41216)
@@ -159,7 +159,7 @@ nogvl_getaddrinfo(void *arg) https://github.com/ruby/ruby/blob/trunk/ext/socket/raddrinfo.c#L159
 {
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]