diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-13 01:12:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-13 01:12:07 +0000 |
commit | adb974960db0b958c1be45ab9586abc7f39625e9 (patch) | |
tree | 20e402bc46e25107b273352b3de7dcc3aa19b619 /lib | |
parent | 2acc92828fd87ba38aeb70c4c229bfbd9ddbf300 (diff) |
fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |