regfree(&re_ignore);
regfree(&re_config1);
regfree(&re_config2);
+ re_init = 0;
}
/* Read the next line from a config file and store it into a swb_config_line,
else
return -1;
}
- printf("%s", line->key);
/* no need to parse blank lines and comments */
if (!regexec(&re_ignore, line->key, 0, NULL, 0))
/* done parsing the line */
line->parsed = 1;
- printf("%s: '%s'\n", line->key, line->value);
finish:
if (!line->parsed) {