diff options
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index d528615a5..daddfdb6f 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1208,7 +1208,7 @@ CURLcode Curl_telnet(struct connectdata *conn, bool *done) ssize_t bytes_written; char *buffer = buf; - for(;;) { + while(1) { if(!PeekNamedPipe(stdin_handle, NULL, 0, NULL, &readfile_read, NULL)) { keepon = FALSE; break; |