aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-single.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-single.c')
-rw-r--r--docs/examples/multi-single.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c
index 562886a10..1998d25db 100644
--- a/docs/examples/multi-single.c
+++ b/docs/examples/multi-single.c
@@ -74,7 +74,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;
}
}