mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53: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
|
|
@ -227,7 +227,7 @@ OM_uint32 gss_init_sec_context(OM_uint32 *min,
|
|||
return GSS_S_FAILURE;
|
||||
}
|
||||
|
||||
/* Overwrite null terminator */
|
||||
/* Overwrite null-terminator */
|
||||
memset(token + used, 'A', length - used);
|
||||
|
||||
*context_handle = ctx;
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ static int readline(char **buffer, size_t *bufsize, size_t *length,
|
|||
*
|
||||
* If the source buffer is indicated to be base64 encoded, this appends the
|
||||
* decoded data, binary or whatever, to the destination. The source buffer
|
||||
* may not hold binary data, only a null terminated string is valid content.
|
||||
* may not hold binary data, only a null-terminated string is valid content.
|
||||
*
|
||||
* Destination buffer will be enlarged and relocated as needed.
|
||||
*
|
||||
|
|
@ -264,7 +264,7 @@ static int decodedata(char **buf, /* dest buffer */
|
|||
* and the size of the data is stored at the addresses that caller specifies.
|
||||
*
|
||||
* If the returned data is a string the returned size will be the length of
|
||||
* the string excluding null termination. Otherwise it will just be the size
|
||||
* the string excluding null-termination. Otherwise it will just be the size
|
||||
* of the returned binary data.
|
||||
*
|
||||
* Calling function is responsible to free returned buffer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue