projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
07c9702
)
Zap stray debugging printf()s
author
Steven Luo
<steven+maemo@steven676.net>
Thu, 17 Dec 2009 07:48:27 +0000
(23:48 -0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Thu, 17 Dec 2009 07:48:27 +0000
(23:48 -0800)
configfile.c
patch
|
blob
|
history
diff --git
a/configfile.c
b/configfile.c
index
7f3b905
..
193121a
100644
(file)
--- a/
configfile.c
+++ b/
configfile.c
@@
-143,7
+143,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
+176,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) {