From 0e607542dca1247217997184224fc1a779778166 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Mar 2020 10:55:31 +0200 Subject: 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. --- src/tool_setopt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3