diff options
Diffstat (limited to 'cdr/cdr_tds.c')
-rw-r--r-- | cdr/cdr_tds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cdr/cdr_tds.c b/cdr/cdr_tds.c index 2ac8481a8..b4d51729a 100644 --- a/cdr/cdr_tds.c +++ b/cdr/cdr_tds.c @@ -482,7 +482,8 @@ static int tds_load_module(void) ptr = ast_variable_retrieve(cfg,"global","table"); if (ptr == NULL) { - ast_log(LOG_DEBUG,"cdr_tds: table not specified. Assuming cdr\n"); + if (option_debug) + ast_log(LOG_DEBUG,"cdr_tds: table not specified. Assuming cdr\n"); ptr = "cdr"; } table = strdup(ptr); |