aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-21 12:36:10 +0000
committerYang Tse <yangsita@gmail.com>2006-10-21 12:36:10 +0000
commitde59cde1555b51890f8465644866c2fc1308b7fc (patch)
tree82b3626b9cd8c46b3807889ea9dc44528caacb88 /lib
parent3cd95eacdfe8948fab9a129bf911f41742aa7cbf (diff)
Fix copy-paste error
Diffstat (limited to 'lib')
-rw-r--r--lib/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 3d3961078..14ff11d2c 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -1154,7 +1154,7 @@ CURLcode Curl_telnet(struct connectdata *conn, bool *done)
/* And WSACloseEvent */
close_event_func = GetProcAddress(wsock2,"WSACloseEvent");
- if (create_event_func == NULL) {
+ if (close_event_func == NULL) {
failf(data,"failed to find WSACloseEvent function (%d)",
GetLastError());
FreeLibrary(wsock2);