aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-app.c')
-rw-r--r--docs/examples/multi-app.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c
index 09b91b720..6ba131830 100644
--- a/docs/examples/multi-app.c
+++ b/docs/examples/multi-app.c
@@ -101,12 +101,8 @@ int main(int argc, char **argv)
case -1:
/* select error */
break;
- case 0:
- /* timeout, do something else */
- break;
- default:
- /* one or more of curl's file descriptors say there's data to read
- or write */
+ case 0: /* timeout */
+ default: /* action */
curl_multi_perform(multi_handle, &still_running);
break;
}