Allow nested #includes in extconfig.conf
authorRussell Bryant <russell@russellbryant.com>
Mon, 27 Jan 2014 20:38:03 +0000 (20:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 27 Jan 2014 20:38:03 +0000 (20:38 +0000)
commit8a762efb35763460845aa19bc93ad985866f9548
tree537d87d2d7d7f17f6df27f95fcae03118f2a1056
parentcc42229f26c66864913302572f034f19d571d71a
Allow nested #includes in extconfig.conf

extconfig.conf was hard-coded to not allow nested includes for some reason.
The code has been this way since a patch was merged for ASTERISK-3333 (revision
4889), which was a significant update to this code ("Merge config updates").

I can't figure out any good reason why this should be limited.  This patch just
removes the limit and uses the default nesting depth limit.

Closes issue ASTERISK-17837

Review: https://reviewboard.asterisk.org/r/3159/
........

Merged revisions 406643 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 406644 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 406645 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@406646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/config.c