cdr.c: Make turning on CDR debug a one step process instead of two.

Now "cdr set debug on" doesn't also require "core set verbose 1" to see
CDR debug output.
........

Merged revisions 424941 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424942 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/42/42/1
Richard Mudgett 11 years ago
parent d0255c4a46
commit 0f50e8856b

@ -216,8 +216,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define CDR_DEBUG(mod_cfg, fmt, ...) \
do { \
if (ast_test_flag(&(mod_cfg)->general->settings, CDR_DEBUG)) { \
ast_verb(1, (fmt), ##__VA_ARGS__); \
} } while (0)
ast_verbose((fmt), ##__VA_ARGS__); \
} \
} while (0)
static void cdr_detach(struct ast_cdr *cdr);
static void cdr_submit_batch(int shutdown);

Loading…
Cancel
Save