Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
x4m committed Nov 16, 2023
1 parent 8425f68 commit 134e95b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sources/rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,7 @@ int od_rules_validate(od_rules_t *rules, od_config_t *config,
{
/* storages */
if (od_list_empty(&rules->storages)) {
od_error(logger, "rules", NULL, NULL,
"no storage defined");
od_error(logger, "rules", NULL, NULL, "no storage defined");
return -1;
}

Expand Down Expand Up @@ -980,8 +979,7 @@ int od_rules_validate(od_rules_t *rules, od_config_t *config,

/* rules */
if (od_list_empty(&rules->rules)) {
od_error(logger, "rules", NULL, NULL,
"no rules defined");
od_error(logger, "rules", NULL, NULL, "no rules defined");
return -1;
}

Expand Down

0 comments on commit 134e95b

Please sign in to comment.