aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-09 11:43:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-09 11:43:08 +0000
commitcc09e9d4c29782c7421bba0062793f2140f7ad15 (patch)
treed1a50f4fddbe0a2f2f98164057f7a49bec7d5ccd
parent16e0da2c4b5048129fdb04896dbb0ec86a927ae0 (diff)
fix
-rw-r--r--docs/examples/multi-app.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}