From: Yang Tse Date: Sat, 13 Sep 2008 01:12:07 +0000 (+0000) Subject: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_19_1~367 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adb974960db0b958c1be45ab9586abc7f39625e9;p=curl fix compiler warning: enumerated type mixed with another type --- 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,