summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSara Golemon <sgolemon@fb.com>2012-09-15 10:38:52 -0700
committerDaniel Stenberg <daniel@haxx.se>2012-09-16 19:58:02 +0200
commitb78944146a0670b74be00e189f468adfc5fca5b7 (patch)
tree5e466784b19e166a1600ec934df0c3e2643da4e6 /include
parent9b25b00fa3c0d57c9356fbdcec9883a3cdd16c93 (diff)
downloadcurl-b78944146a0670b74be00e189f468adfc5fca5b7.tar.gz
curl_multi_wait: Add parameter to return number of active sockets
Minor change to recently introduced function. BC breaking, but since curl_multi_wait() doesn't exist in any releases that should be fine.
Diffstat (limited to 'include')
-rw-r--r--include/curl/multi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index 737f17ce2..6dcd2bac4 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -157,7 +157,8 @@ CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
struct curl_waitfd extra_fds[],
unsigned int extra_nfds,
- int timeout_ms);
+ int timeout_ms,
+ int *ret);
/*
* Name: curl_multi_perform()