mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
tidy-up: miscellaneous
- schannel: delete superfluous parenthesis. - tftp: delete stray space from log output. - ws: update guard comment. - docs/examples: constify variables. - runtests/servers: enclose unknown parameter between quotes. - scripts/perlcheck.sh: drop redundant grep `-E` option. - THANKS: move names from comments to THANKS. - sync `--depth` option style across scripts. - sync git repo URL ending between some scripts. - BINDINGS.md: drop protocol from archive.org URL path. - whitespace, indent, unfold lines. Closes #19565
This commit is contained in:
parent
a87383828e
commit
1b48c6148a
32 changed files with 62 additions and 71 deletions
|
|
@ -241,7 +241,7 @@ static CURLcode tftp_set_timeouts(struct tftp_conn *state)
|
|||
state->retry_time = 1;
|
||||
|
||||
infof(state->data,
|
||||
"set timeouts for state %d; Total % " FMT_OFF_T ", retry %d maxtry %d",
|
||||
"set timeouts for state %d; Total %" FMT_OFF_T ", retry %d maxtry %d",
|
||||
(int)state->state, timeout_ms, state->retry_time, state->retry_max);
|
||||
|
||||
/* init RX time */
|
||||
|
|
@ -381,7 +381,7 @@ static CURLcode tftp_parse_option_ack(struct tftp_conn *state,
|
|||
static CURLcode tftp_option_add(struct tftp_conn *state, size_t *csize,
|
||||
char *buf, const char *option)
|
||||
{
|
||||
if(( strlen(option) + *csize + 1) > (size_t)state->blksize)
|
||||
if((strlen(option) + *csize + 1) > (size_t)state->blksize)
|
||||
return CURLE_TFTP_ILLEGAL;
|
||||
strcpy(buf, option);
|
||||
*csize += strlen(option) + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue