summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_USERAGENT.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-25 11:38:25 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-28 00:31:24 +0200
commit032e838b73578e9a5e8d2cf2ca0f5f2097006060 (patch)
tree24859912985d78092abed97feca8ad1deab5fa9b /docs/libcurl/opts/CURLOPT_USERAGENT.3
parentff43fb6decaa6ea78dff59b591d70c55f7071d34 (diff)
downloadcurl-032e838b73578e9a5e8d2cf2ca0f5f2097006060.tar.gz
terminology: call them null-terminated strings
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 Closes #5608
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USERAGENT.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_USERAGENT.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_USERAGENT.3 b/docs/libcurl/opts/CURLOPT_USERAGENT.3
index 2fd34ec6a..7a16223d9 100644
--- a/docs/libcurl/opts/CURLOPT_USERAGENT.3
+++ b/docs/libcurl/opts/CURLOPT_USERAGENT.3
@@ -28,7 +28,7 @@ CURLOPT_USERAGENT \- set HTTP user-agent header
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_USERAGENT, char *ua);
.SH DESCRIPTION
-Pass a pointer to a zero terminated string as parameter. It will be used to
+Pass a pointer to a null-terminated string as parameter. It will be used to
set the User-Agent: header in the HTTP request sent to the remote server. This
can be used to fool servers or scripts. You can also set any custom header
with \fICURLOPT_HTTPHEADER(3)\fP.