[svn-commits] rmudgett: trunk r424943 - in /trunk: ./ main/cdr.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 9 11:38:42 CDT 2014


Author: rmudgett
Date: Thu Oct  9 11:38:40 2014
New Revision: 424943

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=424943
Log:
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

Modified:
    trunk/   (props changed)
    trunk/main/cdr.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cdr.c?view=diff&rev=424943&r1=424942&r2=424943
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Thu Oct  9 11:38:40 2014
@@ -215,9 +215,10 @@
 
 #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)
+		if (ast_test_flag(&(mod_cfg)->general->settings, CDR_DEBUG)) { \
+			ast_verbose((fmt), ##__VA_ARGS__); \
+		} \
+	} while (0)
 
 static void cdr_detach(struct ast_cdr *cdr);
 static void cdr_submit_batch(int shutdown);




More information about the svn-commits mailing list