mirror of
https://github.com/curl/curl.git
synced 2026-07-30 14:28:29 +03:00
curl: change the struct getout flags field into bitfields
As the flags were use mostly as individual booleans anyway, the code gets simpler when we use bitfields instead of manual bitwise operations. Closes #17436
This commit is contained in:
parent
8ab73bb1ff
commit
65e4444d67
5 changed files with 39 additions and 42 deletions
|
|
@ -52,7 +52,7 @@ struct getout *new_getout(struct OperationConfig *config)
|
|||
/* move the last pointer */
|
||||
config->url_last = node;
|
||||
|
||||
node->flags = config->default_node_flags;
|
||||
node->useremote = config->remote_name_all;
|
||||
node->num = outnum++;
|
||||
}
|
||||
return node;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue