diff options
Diffstat (limited to 'cel')
-rw-r--r-- | cel/cel_radius.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cel/cel_radius.c b/cel/cel_radius.c index 3c20e9780..f6ab89267 100644 --- a/cel/cel_radius.c +++ b/cel/cel_radius.c @@ -237,18 +237,6 @@ static int load_module(void) return AST_MODULE_LOAD_DECLINE; } - /* - * start logging - * - * NOTE: Yes this causes a slight memory leak if the module is - * unloaded. However, it is better than a crash if cdr_radius - * and cel_radius are both loaded. - */ - tmp = ast_strdup("asterisk"); - if (tmp) { - rc_openlog((char *) tmp); - } - /* read radiusclient-ng config file */ if (!(rh = rc_read_config(radiuscfg))) { ast_log(LOG_NOTICE, "Cannot load radiusclient-ng configuration file %s.\n", radiuscfg); |