mirror of
https://github.com/curl/curl.git
synced 2026-07-28 15:33:08 +03:00
spelling: call it null-terminate consistently
With a dash, using two Ls. Also for different forms of the word.
Use NULL in all uppercase if it means a zero pointer.
Follow-up to 307b7543ea
Closes #17489
This commit is contained in:
parent
54834b4ad3
commit
fe81a80ae7
39 changed files with 69 additions and 70 deletions
|
|
@ -78,7 +78,7 @@ static ParameterError getstrn(char **str, const char *val,
|
|||
return PARAM_NO_MEM;
|
||||
|
||||
memcpy(*str, val, len);
|
||||
(*str)[len] = 0; /* null terminate */
|
||||
(*str)[len] = 0; /* null-terminate */
|
||||
|
||||
return PARAM_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue