1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

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

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;