mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix print filename of encompassing config file on read failure.
git-svn-id: file:///svn/unbound/trunk@3099 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
64ada805e2
commit
18feb613ae
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
24 March 2014: Wouter
|
||||||
|
- Fix print filename of encompassing config file on read failure.
|
||||||
|
|
||||||
12 March 2014: Wouter
|
12 March 2014: Wouter
|
||||||
- tag 1.4.22
|
- tag 1.4.22
|
||||||
- trunk has 1.4.23 in development.
|
- trunk has 1.4.23 in development.
|
||||||
|
|
|
||||||
|
|
@ -800,7 +800,7 @@ config_read(struct config_file* cfg, const char* filename, const char* chroot)
|
||||||
|
|
||||||
if(cfg_parser->errors != 0) {
|
if(cfg_parser->errors != 0) {
|
||||||
fprintf(stderr, "read %s failed: %d errors in configuration file\n",
|
fprintf(stderr, "read %s failed: %d errors in configuration file\n",
|
||||||
cfg_parser->filename, cfg_parser->errors);
|
fname, cfg_parser->errors);
|
||||||
errno=EINVAL;
|
errno=EINVAL;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue