[asterisk-commits] file: branch 1.2 r53117 - /branches/1.2/config.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 2 09:58:10 MST 2007


Author: file
Date: Fri Feb  2 10:58:09 2007
New Revision: 53117

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53117
Log:
Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)

Modified:
    branches/1.2/config.c

Modified: branches/1.2/config.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/config.c?view=diff&rev=53117&r1=53116&r2=53117
==============================================================================
--- branches/1.2/config.c (original)
+++ branches/1.2/config.c Fri Feb  2 10:58:09 2007
@@ -651,7 +651,7 @@
 				if (process_buf) {
 					char *buf = ast_strip(process_buf);
 					if (!ast_strlen_zero(buf)) {
-						if (process_text_line(cfg, &cat, buf, lineno, filename)) {
+						if (process_text_line(cfg, &cat, buf, lineno, fn)) {
 							cfg = NULL;
 							break;
 						}



More information about the asterisk-commits mailing list