mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00: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
@ -1,3 +1,6 @@
|
||||
24 March 2014: Wouter
|
||||
- Fix print filename of encompassing config file on read failure.
|
||||
|
||||
12 March 2014: Wouter
|
||||
- tag 1.4.22
|
||||
- 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) {
|
||||
fprintf(stderr, "read %s failed: %d errors in configuration file\n",
|
||||
cfg_parser->filename, cfg_parser->errors);
|
||||
fname, cfg_parser->errors);
|
||||
errno=EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user