The style standard is to use space after keywords.
Example:
if (expr)
verus
if(expr)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
{
int i;
- for(i = 0; i < ARRAY_SIZE(pcp_names); i++) {
+ for (i = 0; i < ARRAY_SIZE(pcp_names); i++) {
if (pcp_names[i] && strcmp(arg, pcp_names[i]) == 0) {
*key = i;
return 0;
dl_arg_inc(dl);
err = dl_argv_str(dl, §ionstr);
- if(err)
+ if (err)
return err;
err = flash_overwrite_section_get(sectionstr,
&opts->overwrite_mask);
else if (ret != 2)
invarg("invalid dport range\n", *argv);
filter.dport = r;
- } else{
+ } else {
if (matches(*argv, "dst") == 0 ||
matches(*argv, "to") == 0) {
NEXT_ARG();