mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:53:31 +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
|
|
@ -723,7 +723,7 @@ static CURLcode smb_send_setup(struct Curl_easy *data)
|
|||
"%s%c" /* OS */
|
||||
"%s", /* client name */
|
||||
smbc->user, 0, smbc->domain, 0, CURL_OS, 0, CLIENTNAME);
|
||||
p++; /* count the final null termination */
|
||||
p++; /* count the final null-termination */
|
||||
DEBUGASSERT(byte_count == (size_t)(p - msg.bytes));
|
||||
msg.byte_count = smb_swap16((unsigned short)byte_count);
|
||||
|
||||
|
|
@ -754,7 +754,7 @@ static CURLcode smb_send_tree_connect(struct Curl_easy *data,
|
|||
"%s%c" /* share */
|
||||
"%s", /* service */
|
||||
conn->host.name, smbc->share, 0, SERVICENAME);
|
||||
p++; /* count the final null termination */
|
||||
p++; /* count the final null-termination */
|
||||
DEBUGASSERT(byte_count == (size_t)(p - msg.bytes));
|
||||
msg.byte_count = smb_swap16((unsigned short)byte_count);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue