]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
man: fix argument type for `CURLSHOPT_[UN]SHARE` options
authorViktor Szakats <commit@vsz.me>
Sun, 5 Apr 2026 15:45:04 +0000 (17:45 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 5 Apr 2026 16:03:41 +0000 (18:03 +0200)
Closes #21232

docs/libcurl/opts/CURLSHOPT_SHARE.md
docs/libcurl/opts/CURLSHOPT_UNSHARE.md

index 92a279a31012188aaeaf56d27838e71f9f8bcea0..60e1405bb22992a3603ada4ac4f55b67f6df6b23 100644 (file)
@@ -23,7 +23,7 @@ CURLSHOPT_SHARE - add data to share
 ~~~c
 #include <curl/curl.h>
 
-CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_SHARE, long type);
+CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_SHARE, int type);
 ~~~
 
 # DESCRIPTION
index 43edb4d256c6f6cedf35e44b5bba949e283ee0df..45ee27dec0f003977c2d393ce4c4da8ed7ae9659 100644 (file)
@@ -23,7 +23,7 @@ CURLSHOPT_UNSHARE - remove data to share
 ~~~c
 #include <curl/curl.h>
 
-CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_UNSHARE, long type);
+CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_UNSHARE, int type);
 ~~~
 
 # DESCRIPTION