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
|
@ -212,7 +212,7 @@ bsock_setsockopt(int argc, VALUE *argv, VALUE sock)
|
|||
|
||||
rb_secure(2);
|
||||
GetOpenFile(sock, fptr);
|
||||
family = rb_sock_getfamily(fptr->fd);
|
||||
family = rsock_getfamily(fptr->fd);
|
||||
level = rsock_level_arg(family, lev);
|
||||
option = rsock_optname_arg(family, level, optname);
|
||||
|
||||
|
@ -295,7 +295,7 @@ bsock_getsockopt(VALUE sock, VALUE lev, VALUE optname)
|
|||
int family;
|
||||
|
||||
GetOpenFile(sock, fptr);
|
||||
family = rb_sock_getfamily(fptr->fd);
|
||||
family = rsock_getfamily(fptr->fd);
|
||||
level = rsock_level_arg(family, lev);
|
||||
option = rsock_optname_arg(family, level, optname);
|
||||
len = 256;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue