From: Viktor Szakats Date: Sun, 5 Apr 2026 15:45:04 +0000 (+0200) Subject: man: fix argument type for `CURLSHOPT_[UN]SHARE` options X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af08d642ea77e433e7817bb0e4ee2bbbd5bb8e02;p=thirdparty%2Fcurl.git man: fix argument type for `CURLSHOPT_[UN]SHARE` options Closes #21232 --- diff --git a/docs/libcurl/opts/CURLSHOPT_SHARE.md b/docs/libcurl/opts/CURLSHOPT_SHARE.md index 92a279a310..60e1405bb2 100644 --- a/docs/libcurl/opts/CURLSHOPT_SHARE.md +++ b/docs/libcurl/opts/CURLSHOPT_SHARE.md @@ -23,7 +23,7 @@ CURLSHOPT_SHARE - add data to share ~~~c #include -CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_SHARE, long type); +CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_SHARE, int type); ~~~ # DESCRIPTION diff --git a/docs/libcurl/opts/CURLSHOPT_UNSHARE.md b/docs/libcurl/opts/CURLSHOPT_UNSHARE.md index 43edb4d256..45ee27dec0 100644 --- a/docs/libcurl/opts/CURLSHOPT_UNSHARE.md +++ b/docs/libcurl/opts/CURLSHOPT_UNSHARE.md @@ -23,7 +23,7 @@ CURLSHOPT_UNSHARE - remove data to share ~~~c #include -CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_UNSHARE, long type); +CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_UNSHARE, int type); ~~~ # DESCRIPTION