diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-03-30 10:55:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-03-30 16:05:30 +0200 |
commit | 0e607542dca1247217997184224fc1a779778166 (patch) | |
tree | 104bc925f4d51abb088953cc35de96ee33e9e610 /src | |
parent | 529add48bc2a8e66bdbc1926e7708535dd5317a2 (diff) |
cleanup: insert newline after if() conditions
Our code style mandates we put the conditional block on a separate
line. These mistakes are now detected by the updated checksrc.
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_setopt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_setopt.c b/src/tool_setopt.c index f3b7a9c83..f244ba490 100644 --- a/src/tool_setopt.c +++ b/src/tool_setopt.c @@ -285,7 +285,8 @@ CURLcode tool_setopt_enum(CURL *curl, struct GlobalConfig *config, /* we only use this for real if --libcurl was used */ const NameValue *nv = NULL; for(nv = nvlist; nv->name; nv++) { - if(nv->value == lval) break; /* found it */ + if(nv->value == lval) + break; /* found it */ } if(! nv->name) { /* If no definition was found, output an explicit value. |