[asterisk-commits] pabelanger: branch pabelanger/CDRSettings r335211 - /team/pabelanger/CDRSetti...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Sep 11 20:40:26 CDT 2011
Author: pabelanger
Date: Sun Sep 11 20:40:22 2011
New Revision: 335211
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335211
Log:
Clean up
Modified:
team/pabelanger/CDRSettings/cdr/cdr_csv.c
Modified: team/pabelanger/CDRSettings/cdr/cdr_csv.c
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/CDRSettings/cdr/cdr_csv.c?view=diff&rev=335211&r1=335210&r2=335211
==============================================================================
--- team/pabelanger/CDRSettings/cdr/cdr_csv.c (original)
+++ team/pabelanger/CDRSettings/cdr/cdr_csv.c Sun Sep 11 20:40:22 2011
@@ -121,21 +121,18 @@
if (usegmtime) {
ast_debug(1, "logging time in GMT\n");
}
- }
- /* Turn on/off separate files per accountcode. Default is on (as before) */
- if (!strcasecmp(v->name, "accountlogs")) {
+ } else if (!strcasecmp(v->name, "accountlogs")) {
+ /* Turn on/off separate files per accountcode. Default is on (as before) */
accountlogs = ast_true(v->value);
if (accountlogs) {
ast_debug(1, "logging in separate files per accountcode\n");
}
- }
- if (!strcasecmp(v->name, "loguniqueid")) {
+ } else if (!strcasecmp(v->name, "loguniqueid")) {
loguniqueid = ast_true(v->value);
if (loguniqueid) {
ast_debug(1, "logging CDR field UNIQUEID\n");
}
- }
- if (!strcasecmp(v->name, "loguserfield")) {
+ } else if (!strcasecmp(v->name, "loguserfield")) {
loguserfield = ast_true(v->value);
if (loguserfield) {
ast_debug(1, "logging CDR user-defined field\n");
More information about the asterisk-commits
mailing list