From 5401c604935c496892875411cdeb53d32ac246ea Mon Sep 17 00:00:00 2001 From: Daniel Swarbrick Date: Thu, 30 Dec 2010 23:43:03 +0100 Subject: [PATCH] fix CR line endings --- src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c b/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c index eeb5e485bd..c1b4b77998 100644 --- a/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c +++ b/src/mod/event_handlers/mod_cdr_csv/mod_cdr_csv.c @@ -346,8 +346,8 @@ static switch_status_t load_config(switch_memory_pool_t *pool) } else if (!strcasecmp(var, "default-template")) { globals.default_template = switch_core_strdup(pool, val); } else if (!strcasecmp(var, "master-file-only")) { - globals.masterfileonly = switch_true(val); - } + globals.masterfileonly = switch_true(val); + } } } @@ -405,8 +405,6 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_cdr_csv_load) *module_interface = switch_loadable_module_create_module_interface(pool, modname); - - return status; }