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)
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 */
}
/*
(3-3/11)