mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (get_wsa_extension_function): typos. orz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0265b0662
commit
1f3e96b7ac
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Nov 8 14:41:40 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (get_wsa_extension_function): typos.
|
||||
|
||||
Mon Nov 8 13:41:33 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* tool/enc-unicode.rb,
|
||||
|
|
|
@ -2682,7 +2682,7 @@ rb_w32_select(int nfds, fd_set *rd, fd_set *wr, fd_set *ex,
|
|||
}
|
||||
|
||||
static FARPROC
|
||||
get_wsa_exetinsion_function(SOCKET s, GUID *guid)
|
||||
get_wsa_extension_function(SOCKET s, GUID *guid)
|
||||
{
|
||||
DWORD dmy;
|
||||
FARPROC ptr = NULL;
|
||||
|
@ -3042,7 +3042,7 @@ recvmsg(int fd, struct msghdr *msg, int flags)
|
|||
|
||||
if (!pWSARecvMsg) {
|
||||
static GUID guid = WSAID_WSARECVMSG;
|
||||
pWSARecvMsg = (WSARecvMsg_t)get_wsa_exetinsion_function(s, &guid);
|
||||
pWSARecvMsg = (WSARecvMsg_t)get_wsa_extension_function(s, &guid);
|
||||
if (!pWSARecvMsg)
|
||||
return -1;
|
||||
}
|
||||
|
@ -3101,7 +3101,7 @@ sendmsg(int fd, const struct msghdr *msg, int flags)
|
|||
|
||||
if (!pWSASendMsg) {
|
||||
static GUID guid = WSAID_WSASENDMSG;
|
||||
pWSASendMsg = (WSASendMsg_t)get_wsa_exetinsion_function(s, &guid);
|
||||
pWSASendMsg = (WSASendMsg_t)get_wsa_extension_function(s, &guid);
|
||||
if (!pWSASendMsg)
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue