summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 05:41:49 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 05:41:49 +0000
commit1f3e96b7ac73401c15df4d77bdcf6f441813c443 (patch)
tree7a4e9cdb6da81fc93ef34f46a879f7d4517ac74e /win32
parenta0265b06629a0ae835adcf0f66fdba070653a785 (diff)
* 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
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 5d74673612..2121013e82 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -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;
}