nonsense change for(;;) => while(1) just to prevent gcc from warning on

never executed code when -Wunreachable-code is used
This commit is contained in:
Daniel Stenberg 2005-03-15 07:48:45 +00:00
parent d5bdd2b2f9
commit a357f77c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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;