mirror of
https://github.com/curl/curl.git
synced 2026-07-11 01:27:16 +03:00
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
This commit is contained in:
parent
a57b45c386
commit
fbf5d507ce
128 changed files with 854 additions and 837 deletions
|
|
@ -2242,9 +2242,8 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
case C_HEAD: /* --head */
|
||||
config->no_body = toggle;
|
||||
config->show_headers = toggle;
|
||||
if(SetHTTPrequest(config,
|
||||
(config->no_body)?TOOL_HTTPREQ_HEAD:TOOL_HTTPREQ_GET,
|
||||
&config->httpreq))
|
||||
if(SetHTTPrequest(config, (config->no_body) ? TOOL_HTTPREQ_HEAD :
|
||||
TOOL_HTTPREQ_GET, &config->httpreq))
|
||||
err = PARAM_BAD_USE;
|
||||
break;
|
||||
case C_REMOTE_HEADER_NAME: /* --remote-header-name */
|
||||
|
|
@ -2303,7 +2302,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
config->nobuffer = longopt ? !toggle : TRUE;
|
||||
break;
|
||||
case C_REMOTE_NAME_ALL: /* --remote-name-all */
|
||||
config->default_node_flags = toggle?GETOUT_USEREMOTE:0;
|
||||
config->default_node_flags = toggle ? GETOUT_USEREMOTE : 0;
|
||||
break;
|
||||
case C_OUTPUT_DIR: /* --output-dir */
|
||||
err = getstr(&config->output_dir, nextarg, DENY_BLANK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue