mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
example: fix formatting nits
Also: - drop non-portable `__STRING()` macro use where still used. Closes #19746
This commit is contained in:
parent
c10dda9ebb
commit
aad3c2e8e1
50 changed files with 225 additions and 227 deletions
|
|
@ -72,7 +72,7 @@ int main(void)
|
|||
|
||||
int still_running = 0; /* keep number of running handles */
|
||||
|
||||
CURLMsg *msg; /* for picking up messages with the transfer status */
|
||||
CURLMsg *msg; /* for picking up messages with the transfer status */
|
||||
int msgs_left; /* how many messages are left */
|
||||
|
||||
/* add the individual transfers */
|
||||
|
|
@ -85,7 +85,7 @@ int main(void)
|
|||
while(still_running) {
|
||||
|
||||
struct timeval timeout;
|
||||
int rc; /* select() return code */
|
||||
int rc; /* select() return code */
|
||||
CURLMcode mc; /* curl_multi_fdset() return code */
|
||||
|
||||
fd_set fdread;
|
||||
|
|
@ -155,7 +155,7 @@ int main(void)
|
|||
case -1:
|
||||
/* select error */
|
||||
break;
|
||||
case 0: /* timeout */
|
||||
case 0: /* timeout */
|
||||
default: /* action */
|
||||
curl_multi_perform(multi, &still_running);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue