mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:43:32 +03:00
tidy-up: comments, messages, formatting
- 'null-terminate', sync casing. - add an `#endif` comment. - avoid a few instances of 'will'. - configure: 'aws' -> 'aws-sigv4', where missing. - unfold/fold lines. - update memzero/strzero comments. - uppercase 'CRLF'. Closes #22443
This commit is contained in:
parent
83216878e4
commit
c4013cdb85
22 changed files with 49 additions and 46 deletions
|
|
@ -186,7 +186,7 @@ static struct bf bfs[2];
|
|||
static int nextone; /* index of next buffer to use */
|
||||
static int current; /* index of buffer in use */
|
||||
|
||||
/* control flags for crlf conversions */
|
||||
/* control flags for CRLF conversions */
|
||||
static int newline = 0; /* fillbuf: in middle of newline expansion */
|
||||
static int prevchar = -1; /* putbuf: previous char (cr check) */
|
||||
|
||||
|
|
@ -296,7 +296,7 @@ static void nak(int error)
|
|||
*/
|
||||
static struct tftphdr *rw_init(int x)
|
||||
{
|
||||
newline = 0; /* init crlf flag */
|
||||
newline = 0; /* init CRLF flag */
|
||||
prevchar = -1;
|
||||
bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
|
||||
current = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue