fix a mingw32 build warning

This commit is contained in:
Daniel Stenberg 2004-07-29 07:48:47 +00:00
parent b7575b39c4
commit 48b92c163f

View File

@ -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;