From cc09e9d4c29782c7421bba0062793f2140f7ad15 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 9 Jan 2003 11:43:08 +0000 Subject: [PATCH] fix --- docs/examples/multi-app.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c index 13a221325..aead0244f 100644 --- a/docs/examples/multi-app.c +++ b/docs/examples/multi-app.c @@ -83,7 +83,8 @@ int main(int argc, char **argv) default: /* one or more of curl's file descriptors say there's data to read or write */ - curl_multi_perform(multi_handle, &still_running); + while(CURLM_CALL_MULTI_PERFORM == + curl_multi_perform(multi_handle, &still_running)); break; } }