]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix processing of asterisk.conf debug=yes. 38/438/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:37:09 +0000 (09:37 -0500)
commit3cdb7950f05dbfe0b180a778c48f99f97345958c
tree47f5da831ecf4434e649a8957f15192524142a74
parent8523a5ed099bc3d2a99dc232e23a877f32fc6453
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