Bug #6066 » socket.return.patch
| ext/socket/raddrinfo.c (working copy) | ||
|---|---|---|
|
default:
|
||
|
rb_raise(rb_eTypeError, "neither IO nor file descriptor");
|
||
|
}
|
||
|
return Qnil; /* not reached */
|
||
|
}
|
||
|
/*
|
||
| ext/socket/socket.c (working copy) | ||
|---|---|---|
|
error_exit_name:
|
||
|
if (res) freeaddrinfo(res);
|
||
|
rsock_raise_socket_error("getnameinfo", error);
|
||
|
return Qnil; /* not reached */
|
||
|
}
|
||
|
/*
|
||