diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-25 11:38:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-28 00:31:24 +0200 |
commit | 032e838b73578e9a5e8d2cf2ca0f5f2097006060 (patch) | |
tree | 24859912985d78092abed97feca8ad1deab5fa9b /lib/mime.c | |
parent | ff43fb6decaa6ea78dff59b591d70c55f7071d34 (diff) | |
download | curl-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 'lib/mime.c')
-rw-r--r-- | lib/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mime.c b/lib/mime.c index 4a87c4a3f..6a9b64a2d 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -1419,7 +1419,7 @@ CURLcode curl_mime_data(curl_mimepart *part, if(datasize) memcpy(part->data, data, datasize); - part->data[datasize] = '\0'; /* Set a nul terminator as sentinel. */ + part->data[datasize] = '\0'; /* Set a null terminator as sentinel. */ part->readfunc = mime_mem_read; part->seekfunc = mime_mem_seek; |