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
This commit is contained in:
Daniel Stenberg 2020-06-25 11:38:25 +02:00
parent ff43fb6dec
commit 032e838b73
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
107 changed files with 139 additions and 139 deletions

View file

@ -795,7 +795,7 @@ const char *Curl_strerror(int err, char *buf, size_t buflen)
#endif /* end of not Windows */
buf[max] = '\0'; /* make sure the string is zero terminated */
buf[max] = '\0'; /* make sure the string is null-terminated */
/* strip trailing '\r\n' or '\n'. */
p = strrchr(buf, '\n');