mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:53:43 +03:00
Fix compiler warning: loop without body
This commit is contained in:
parent
f1aa936d2c
commit
640e49976f
4 changed files with 28 additions and 14 deletions
|
|
@ -837,6 +837,7 @@ int main(int argc, char *argv[])
|
|||
curl_socket_t msgsock = CURL_SOCKET_BAD;
|
||||
int wrotepidfile = 0;
|
||||
char *pidname= (char *)".sockfilt.pid";
|
||||
bool juggle_again;
|
||||
int rc;
|
||||
int error;
|
||||
int arg=1;
|
||||
|
|
@ -1001,7 +1002,9 @@ int main(int argc, char *argv[])
|
|||
if(!wrotepidfile)
|
||||
goto sockfilt_cleanup;
|
||||
|
||||
while(juggle(&msgsock, sock, &mode));
|
||||
do {
|
||||
juggle_again = juggle(&msgsock, sock, &mode);
|
||||
} while(juggle_again);
|
||||
|
||||
sockfilt_cleanup:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue