summaryrefslogtreecommitdiff
path: root/main/callerid.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2018-03-07 15:36:17 -0500
committerCorey Farrell <git@cfware.com>2018-03-07 16:03:01 -0600
commitc8a521b6c804d66abb367783dba75eecb16889a2 (patch)
treecd017f42216be9712f6b38cacffd8d6a67484844 /main/callerid.c
parent9040057db38dbc3d8181a5405d13ed8c8083d438 (diff)
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
Diffstat (limited to 'main/callerid.c')
-rw-r--r--main/callerid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/callerid.c b/main/callerid.c
index d6f8575fb..6c4e5cf04 100644
--- a/main/callerid.c
+++ b/main/callerid.c
@@ -501,7 +501,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, s
case 0x06: /* short dial number */
case 0x07: /* reserved */
default: /* reserved */
- if (option_debug > 1)
+ if (DEBUG_ATLEAST(2))
ast_log(LOG_NOTICE, "did info:#1=%X\n", (unsigned)cid->rawdata[x]);
break ;
}