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 /src/tool_writeout.c | |
parent | 8acfb932ef9be1209491bc68d38445c4d6eaab6e (diff) | |
download | curl-bagder/null-terminate.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 'src/tool_writeout.c')
-rw-r--r-- | src/tool_writeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_writeout.c b/src/tool_writeout.c index 32c95b45f..d8ccbcbda 100644 --- a/src/tool_writeout.c +++ b/src/tool_writeout.c @@ -131,7 +131,7 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo) continue; } keepit = *end; - *end = 0; /* zero terminate */ + *end = 0; /* null-terminate */ for(i = 0; variables[i].name; i++) { if(curl_strequal(ptr, variables[i].name)) { match = TRUE; |