mirror of
https://github.com/curl/curl.git
synced 2026-06-08 01:54:47 +03:00
fix manpage prototype and example
This commit is contained in:
parent
65cf62dcf0
commit
b5930cec1a
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ curl_multi_get_offt - extract information from a multi handle
|
|||
~~~c
|
||||
#include <curl/curl.h>
|
||||
|
||||
curl_off_t curl_multi_get_offt(CURLM *multi, CURLMinfo info);
|
||||
curl_off_t curl_multi_get_offt(CURLM *multi, CURLMinfo_offt info);
|
||||
~~~
|
||||
|
||||
# DESCRIPTION
|
||||
|
|
@ -84,7 +84,7 @@ int main(void)
|
|||
/* add the transfer */
|
||||
curl_multi_add_handle(multi, curl);
|
||||
|
||||
n = curl_multi_get_offt(multi, CURLMI_OFFT_XTOTAL);
|
||||
n = curl_multi_get_offt(multi, CURLMINFO_XFERS_ADDED);
|
||||
/* on successful add, n is 1 */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue