mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:53:31 +03:00
checksrc.pl: detect assign followed by more than one space
And fix some code previously doing this. Closes #19375
This commit is contained in:
parent
c12a1fdd0e
commit
6d7e924e80
5 changed files with 20 additions and 13 deletions
|
|
@ -310,7 +310,7 @@ static struct tftphdr *rw_init(int x)
|
|||
{
|
||||
newline = 0; /* init crlf flag */
|
||||
prevchar = -1;
|
||||
bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
|
||||
bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
|
||||
current = 0;
|
||||
bfs[1].counter = BF_FREE;
|
||||
nextone = x; /* ahead or behind? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue