]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Replace direct checks of option_debug with DEBUG_ATLEAST macro.
authorCorey Farrell <git@cfware.com>
Wed, 7 Mar 2018 06:29:13 +0000 (01:29 -0500)
committerCorey Farrell <git@cfware.com>
Wed, 7 Mar 2018 22:02:49 +0000 (17:02 -0500)
commitb81eadcefcd0d0a3fc8c06fe1c4c1a12bceddd8e
treebfced499c859cc903e689e64380cfea8c319f2e6
parent7f864dbc36c302094ab2f1c85bbd58e207b02d44
Replace direct checks of option_debug with DEBUG_ATLEAST macro.

Checking option_debug directly is incorrect as it ignores file/module
specific debug settings.  This system-wide change replaces nearly all
direct checks for option_debug with the DEBUG_ATLEAST macro.

Change-Id: Ic342d4799a945dbc40ac085ac142681094a4ebf0
16 files changed:
addons/chan_ooh323.c
apps/app_directory.c
apps/app_minivm.c
apps/app_voicemail.c
cdr/cdr_pgsql.c
cel/cel_pgsql.c
channels/chan_dahdi.c
channels/chan_sip.c
main/callerid.c
main/config.c
main/netsock2.c
main/pbx.c
main/sched.c
res/res_config_ldap.c
res/res_config_pgsql.c
res/res_rtp_asterisk.c