diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/libcurl-url.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/libcurl-url.3 b/docs/libcurl/libcurl-url.3 index e2506cd91..4ad0a1582 100644 --- a/docs/libcurl/libcurl-url.3 +++ b/docs/libcurl/libcurl-url.3 @@ -49,7 +49,7 @@ return an error instead. "https://example.com:449/foo/bar?name=moo", 0); .fi -The zero in the forth argument is a bitmask for changing specific features. +The zero in the fourth argument is a bitmask for changing specific features. If successful, this stores the URL in its individual parts within the handle. .SH REDIRECT @@ -65,7 +65,7 @@ The `CURLU` handle represents a URL and you can easily extract that with rc = curl_url_get(h, CURLUPART_URL, &url, 0); curl_free(url); -The zero in the forth argument is a bitmask for changing specific features. +The zero in the fourth argument is a bitmask for changing specific features. .SH "GET PARTS" When a URL has been parsed or parts have been set, you can extract those pieces from the handle at any time. @@ -82,7 +82,7 @@ pieces from the handle at any time. .fi Extracted parts are not URL decoded unless the user also asks for it with the -CURLU_URLDECODE flag set in the forth bitmask argument. +CURLU_URLDECODE flag set in the fourth bitmask argument. Remember to free the returned string with \fIcurl_free(3)\fP when you're done with it! |