From a357f77c4c19552eb6efa56bfc335c81e7edcce7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 Mar 2005 07:48:45 +0000 Subject: nonsense change for(;;) => while(1) just to prevent gcc from warning on never executed code when -Wunreachable-code is used --- lib/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3