summaryrefslogtreecommitdiff
path: root/tests/libtest/lib651.c
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 /tests/libtest/lib651.c
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 'tests/libtest/lib651.c')
-rw-r--r--tests/libtest/lib651.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib651.c b/tests/libtest/lib651.c
index 18bcaae83..777f6f59b 100644
--- a/tests/libtest/lib651.c
+++ b/tests/libtest/lib651.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -40,7 +40,7 @@ int test(char *URL)
for(i = 0; i < size ; i++)
memset(&buffer[i * 1000], 65 + i, 1000);
- buffer[ sizeof(buffer)-1] = 0; /* zero terminate */
+ buffer[ sizeof(buffer)-1] = 0; /* null-terminate */
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
fprintf(stderr, "curl_global_init() failed\n");