projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Throw away stdout/stderr for browserds we launch too"
[browser-switch]
/
configfile.c
diff --git
a/configfile.c
b/configfile.c
index
7f3b905
..
5ed02d6
100644
(file)
--- a/
configfile.c
+++ b/
configfile.c
@@
-111,6
+111,7
@@
void parse_config_file_end(void) {
regfree(&re_ignore);
regfree(&re_config1);
regfree(&re_config2);
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,
}
/* Read the next line from a config file and store it into a swb_config_line,
@@
-143,7
+144,6
@@
int parse_config_file_line(FILE *fp, struct swb_config_line *line) {
else
return -1;
}
else
return -1;
}
- printf("%s", line->key);
/* no need to parse blank lines and comments */
if (!regexec(&re_ignore, line->key, 0, NULL, 0))
/* no need to parse blank lines and comments */
if (!regexec(&re_ignore, line->key, 0, NULL, 0))
@@
-177,7
+177,6
@@
int parse_config_file_line(FILE *fp, struct swb_config_line *line) {
/* done parsing the line */
line->parsed = 1;
/* done parsing the line */
line->parsed = 1;
- printf("%s: '%s'\n", line->key, line->value);
finish:
if (!line->parsed) {
finish:
if (!line->parsed) {