summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--win32/win32.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 631e08f14f..70ef18dcc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
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;
}