From 48b92c163f6ae393ad731ef848b232866500f9f5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Jul 2004 07:48:47 +0000 Subject: fix a mingw32 build warning --- lib/telnet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/telnet.c b/lib/telnet.c index 472cd8f53..f5381aa74 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -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; -- cgit v1.2.3