mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +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
|
|
@ -209,7 +209,7 @@ static CURLcode start_req(struct h1_req_parser *parser,
|
|||
path = target;
|
||||
path_len = target_len;
|
||||
|
||||
/* URL parser wants 0-termination */
|
||||
/* URL parser wants null-termination */
|
||||
if(target_len >= sizeof(tmp))
|
||||
goto out;
|
||||
memcpy(tmp, target, target_len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue