mirror of
https://github.com/curl/curl.git
synced 2026-08-05 03:36:14 +03:00
curl_ctype: convert to macros-only
This no longer provide functions, only macros. Runs faster and produces smaller output. The biggest precaution this change brings: DO NOT use post/pre-increments when passing arguments to the macros. Closes #9429
This commit is contained in:
parent
6f9fb7ec2d
commit
f65f750742
10 changed files with 19 additions and 166 deletions
|
|
@ -499,7 +499,7 @@ static int get_param_part(struct OperationConfig *config, char endchar,
|
|||
sep = *p;
|
||||
*endpos = '\0';
|
||||
while(sep == ';') {
|
||||
while(ISSPACE(*++p))
|
||||
while(p++ && ISSPACE(*p))
|
||||
;
|
||||
|
||||
if(!endct && checkprefix("type=", p)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue