mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +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
|
|
@ -39,7 +39,7 @@ static size_t getcontentlengthfunc(void *ptr, size_t size, size_t nmemb,
|
|||
|
||||
r = sscanf(ptr, "Content-Length: %ld\n", &len);
|
||||
if(r == 1)
|
||||
*((long *) stream) = len;
|
||||
*((long *)stream) = len;
|
||||
|
||||
return size * nmemb;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue