projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README, document changes in 3.3 betas
[browser-switch]
/
configfile.c
diff --git
a/configfile.c
b/configfile.c
index
193121a
..
0a522aa
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,
@@
-168,7
+169,7
@@
int parse_config_file_line(FILE *fp, struct swb_config_line *line) {
/* calloc() zeroes the memory, so string is automatically
null terminated */
/* calloc() zeroes the memory, so string is automatically
null terminated */
- /* make key point to a null-terminated string holding the
+ /* make key point to a null-terminated string holding the
config key */
len = substrs[1].rm_eo - substrs[1].rm_so;
memmove(line->key, line->key+substrs[1].rm_so, len);
config key */
len = substrs[1].rm_eo - substrs[1].rm_so;
memmove(line->key, line->key+substrs[1].rm_so, len);