diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-25 11:38:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-25 11:45:17 +0200 |
commit | d6c67eae703575387b1d5be5e9cd110d04914cab (patch) | |
tree | beef06c929271c248242e78e179e5d6d0f2957f9 /docs/libcurl/curl_url_set.3 | |
parent | 8acfb932ef9be1209491bc68d38445c4d6eaab6e (diff) | |
download | curl-d6c67eae703575387b1d5be5e9cd110d04914cab.tar.gz |
terminology: call them null-terminated stringsbagder/null-terminate
Updated terminology in docs, comments and phrases to refer to C strings
as "null-terminated". Done to unify with how most other C oriented docs
refer of them and what users in general seem to prefer (based on a
single highly unscientific poll on twitter).
Reported-by: coinhubs on github
Fixes #5598
Diffstat (limited to 'docs/libcurl/curl_url_set.3')
-rw-r--r-- | docs/libcurl/curl_url_set.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index 630ab20eb..a0cb1f642 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -35,7 +35,7 @@ Given the \fIurl\fP handle of an already parsed URL, this function lets the user set/update individual pieces of it. The \fIpart\fP argument should identify the particular URL part (see list -below) to set or change, with \fIcontent\fP pointing to a zero terminated +below) to set or change, with \fIcontent\fP pointing to a null-terminated string with the new contents for that URL part. The contents should be in the form and encoding they'd use in a URL: URL encoded. @@ -51,7 +51,7 @@ populated with a URL, the new URL can be relative to the previous. When successfully setting a new URL, relative or absolute, the handle contents will be replaced with the information of the newly set URL. -Pass a pointer to a zero terminated string to the \fIurl\fP parameter. The +Pass a pointer to a null-terminated string to the \fIurl\fP parameter. The string must point to a correctly formatted "RFC 3986+" URL or be a NULL pointer. .IP CURLUPART_SCHEME |