We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e12cbea + 438a87d commit 2305770Copy full SHA for 2305770
config.c
@@ -2359,7 +2359,7 @@ static int store_aux_event(enum config_event_t type,
2359
2360
if (type == CONFIG_EVENT_SECTION) {
2361
if (cf->var.len < 2 || cf->var.buf[cf->var.len - 1] != '.')
2362
- BUG("Invalid section name '%s'", cf->var.buf);
+ return error("invalid section name '%s'", cf->var.buf);
2363
2364
/* Is this the section we were looking for? */
2365
store->is_keys_section =
0 commit comments