mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
fix a mingw32 build warning
This commit is contained in:
parent
b7575b39c4
commit
48b92c163f
@ -1207,10 +1207,11 @@ CURLcode Curl_telnet(struct connectdata *conn)
|
||||
char *buffer = buf;
|
||||
|
||||
for(;;) {
|
||||
if(!PeekNamedPipe(stdin_handle,NULL,0,NULL,&nread,NULL)) {
|
||||
if(!PeekNamedPipe(stdin_handle, NULL, 0, NULL, &readfile_read, NULL)) {
|
||||
keepon = FALSE;
|
||||
break;
|
||||
}
|
||||
nread = readfile_read;
|
||||
|
||||
if(!nread)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user