Project

General

Profile

Bug #6066 ยป socket.return.patch

ext/socket patch - drbrain (Eric Hodel), 02/23/2012 09:39 AM

View differences:

ext/socket/raddrinfo.c (working copy)
2144 2144
      default:
2145 2145
        rb_raise(rb_eTypeError, "neither IO nor file descriptor");
2146 2146
    }
2147

  
2148
    return Qnil; /* not reached */
2147 2149
}
2148 2150

  
2149 2151
/*
ext/socket/socket.c (working copy)
1334 1334
  error_exit_name:
1335 1335
    if (res) freeaddrinfo(res);
1336 1336
    rsock_raise_socket_error("getnameinfo", error);
1337

  
1338
  return Qnil; /* not reached */
1337 1339
}
1338 1340

  
1339 1341
/*