projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5264d7
)
audioc: Print config file errors.
author
Andre Noll
<maan@systemlinux.org>
Sun, 7 Apr 2013 01:05:56 +0000
(
01:05
+0000)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 13 Jun 2013 16:29:02 +0000
(18:29 +0200)
Currently para_audioc fails silently if the config file contains
errors. This patch makes it print a proper error message in this case.
audioc.c
patch
|
blob
|
history
diff --git
a/audioc.c
b/audioc.c
index
74fb11c
..
42b4628
100644
(file)
--- a/
audioc.c
+++ b/
audioc.c
@@
-294,7
+294,9
@@
int main(int argc, char *argv[])
.override = 0,
.initialize = 0,
.check_required = 0,
- .check_ambiguity = 0
+ .check_ambiguity = 0,
+ .print_errors = 1,
+
};
ret = audioc_cmdline_parser_config_file(cf, &conf, ¶ms);
free(cf);