aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-29 07:48:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-29 07:48:47 +0000
commit48b92c163f6ae393ad731ef848b232866500f9f5 (patch)
treebd019ac4ba75196dbe1f70bcf92b90a045808168 /lib
parentb7575b39c4bca1d9c9a09bd69b5aabfcf0ebc7d3 (diff)
fix a mingw32 build warning
Diffstat (limited to 'lib')
-rw-r--r--lib/telnet.c3
1 files changed, 2 insertions, 1 deletions
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;