1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Fix copy-paste error

This commit is contained in:
Yang Tse 2006-10-21 12:36:10 +00:00
parent 3cd95eacdf
commit de59cde155

View File

@ -1154,7 +1154,7 @@ CURLcode Curl_telnet(struct connectdata *conn, bool *done)
/* And WSACloseEvent */ /* And WSACloseEvent */
close_event_func = GetProcAddress(wsock2,"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)", failf(data,"failed to find WSACloseEvent function (%d)",
GetLastError()); GetLastError());
FreeLibrary(wsock2); FreeLibrary(wsock2);