From: Eric Bollengier Date: Sun, 30 Apr 2006 14:19:02 +0000 (+0000) Subject: fix : included config files are now using the same scan_error handler as parent X-Git-Tag: Release-2.0.0~892 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da36572f2a6b7ecb6455f410a513c0974916eabf;p=bacula%2Fbacula fix : included config files are now using the same scan_error handler as parent git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2988 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/lib/lex.c b/bacula/src/lib/lex.c index ab0c3224a2..ce5f519423 100644 --- a/bacula/src/lib/lex.c +++ b/bacula/src/lib/lex.c @@ -499,7 +499,7 @@ lex_get_token(LEX *lf, int expect) LEX* lfori = lf; lf->state = lex_none; - lf = lex_open_file(lf, lf->str, NULL); + lf = lex_open_file(lf, lf->str, lf->scan_error); if (lf == NULL) { berrno be; scan_err2(lfori, _("Cannot open included config file %s: %s\n"),