diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-15 07:48:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-15 07:48:45 +0000 |
commit | a357f77c4c19552eb6efa56bfc335c81e7edcce7 (patch) | |
tree | 449f6a85c7d5f631c46cfe528e9b207bdb6fc6e8 | |
parent | d5bdd2b2f98f22388527e2749ff77b95a03b86c5 (diff) |
nonsense change for(;;) => while(1) just to prevent gcc from warning on
never executed code when -Wunreachable-code is used
-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; |