summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-03-12 10:44:46 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-03-12 10:44:46 -0500
commit14857195310b1f8f00c89f2b67e3a6c981d39e93 (patch)
tree29228ae94a1a62b92478b0e5754209bc7a29e427 /apps/app_voicemail.c
parent0d0738aaaf133f524addde9c01735c1aa2312ebb (diff)
parentc8a521b6c804d66abb367783dba75eecb16889a2 (diff)
Merge "Replace direct checks of option_debug with DEBUG_ATLEAST macro."
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 1e7d09128..82fa3b341 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3657,7 +3657,7 @@ static void set_update(MAILSTREAM * stream)
char buf[1024] = "";
if (!(user = get_user_by_mailbox(mailbox, buf, sizeof(buf))) || !(vms = get_vm_state_by_imapuser(user, 0))) {
- if (user && option_debug > 2)
+ if (user && DEBUG_ATLEAST(3))
ast_log(AST_LOG_WARNING, "User %s mailbox not found for update.\n", user);
return;
}