aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-03 12:34:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-03 12:34:43 +0000
commita39cdc80b7ed6d98612a718e7eec63bb44a4a46b (patch)
treec5507c246b7da729e4ff7a53c2310f42679c6386 /docs/examples
parenta47250810edaec6e367fd56c4442d03abc8837d6 (diff)
Jeff pointed out this flaw in the example
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/multi-double.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/multi-double.c b/docs/examples/multi-double.c
index 2b92d55f5..51b4ed370 100644
--- a/docs/examples/multi-double.c
+++ b/docs/examples/multi-double.c
@@ -80,7 +80,8 @@ int main(int argc, char **argv)
case 0:
default:
/* timeout or readable/writable sockets */
- curl_multi_perform(multi_handle, &still_running);
+ while(CURLM_CALL_MULTI_PERFORM ==
+ curl_multi_perform(multi_handle, &still_running));
break;
}
}