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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 25 18:25:03 MST 2007


Author: file
Date: Wed Apr 25 20:25:03 2007
New Revision: 61958

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61958
Log:
Don't count failed include attempts against the configuration include level. (issue #9593 reported by mostyn)

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=61958&r1=61957&r2=61958
==============================================================================
--- branches/1.2/config.c (original)
+++ branches/1.2/config.c Wed Apr 25 20:25:03 2007
@@ -966,6 +966,8 @@
 
 	if (result)
 		result->include_level--;
+	else
+		cfg->include_level--;
 
 	return result;
 }



More information about the asterisk-commits mailing list