]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix processing of asterisk.conf debug=yes. 37/437/2
authorCorey Farrell <git@cfware.com>
Tue, 12 May 2015 06:31:58 +0000 (02:31 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 12 May 2015 14:34:01 +0000 (10:34 -0400)
commit57144feed4e6e78b7b0ff62cab958aa8c925bc80
tree48ed2530e6bc47d068a46c8d9a62e2c81aba19c4
parentfb27395f7599f8dd4a34426c6552d19e0b0b98b4
Fix processing of asterisk.conf debug=yes.

The code which reads asterisk.conf supports processing the debug
option with ast_true, but ast_true returns -1.  This causes debug
to still be off, convert to 1 so debug will be on as requested.

ASTERISK-25042
Reported by: Corey Farrell

Change-Id: I3c898b7d082d914b057e111b9357fde46bad9ed6
main/asterisk.c