Fix copy-paste error

This commit is contained in:
Yang Tse 2006-10-21 12:36:10 +00:00
parent 3cd95eacdf
commit de59cde155
1 changed files with 1 additions and 1 deletions

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);