mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/ (rsock_getfamily): renamed from rb_sock_getfamily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
895b3f6e06
commit
aa2b22bba2
5 changed files with 11 additions and 6 deletions
|
@ -526,7 +526,8 @@ rsock_s_accept(VALUE klass, int fd, struct sockaddr *sockaddr, socklen_t *len)
|
|||
return rsock_init_sock(rb_obj_alloc(klass), fd2);
|
||||
}
|
||||
|
||||
int rb_sock_getfamily(int sockfd)
|
||||
int
|
||||
rsock_getfamily(int sockfd)
|
||||
{
|
||||
struct sockaddr_storage ss;
|
||||
socklen_t sslen = sizeof(ss);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue