From adb974960db0b958c1be45ab9586abc7f39625e9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 13 Sep 2008 01:12:07 +0000 Subject: fix compiler warning: enumerated type mixed with another type --- lib/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/telnet.c b/lib/telnet.c index 63eef5f29..c63c87946 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1289,7 +1289,7 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) if(event_select_func(sockfd, event_handle, FD_READ|FD_CLOSE) == SOCKET_ERROR) { close_event_func(event_handle); FreeLibrary(wsock2); - return 0; + return CURLE_OK; } /* If stdin_handle is a pipe, use PeekNamedPipe() method to check it, -- cgit v1.2.3