mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:41:40 +03: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:
parent
d5bdd2b2f9
commit
a357f77c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue