mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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