From: Yang Tse Date: Sat, 21 Oct 2006 12:36:10 +0000 (+0000) Subject: Fix copy-paste error X-Git-Tag: curl-7_16_0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de59cde1555b51890f8465644866c2fc1308b7fc;p=thirdparty%2Fcurl.git Fix copy-paste error --- diff --git a/lib/telnet.c b/lib/telnet.c index 3d39610783..14ff11d2c5 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);