]> git.sur5r.net Git - bacula/bacula/commitdiff
fix : included config files are now using the same scan_error handler as parent
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 30 Apr 2006 14:19:02 +0000 (14:19 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 30 Apr 2006 14:19:02 +0000 (14:19 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2988 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/lex.c

index ab0c3224a2dd79faf332225fef67a67c80d8deea..ce5f5194233f7e77926bf3a28f1c52ce97d499f9 100644 (file)
@@ -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"),