diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-29 07:48:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-29 07:48:47 +0000 |
commit | 48b92c163f6ae393ad731ef848b232866500f9f5 (patch) | |
tree | bd019ac4ba75196dbe1f70bcf92b90a045808168 /lib/telnet.c | |
parent | b7575b39c4bca1d9c9a09bd69b5aabfcf0ebc7d3 (diff) | |
download | curl-48b92c163f6ae393ad731ef848b232866500f9f5.tar.gz |
fix a mingw32 build warning
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 3 |
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; |