From de59cde1555b51890f8465644866c2fc1308b7fc Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 Oct 2006 12:36:10 +0000 Subject: Fix copy-paste error --- lib/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3