diff options
author | James Golovich <james@gnuinter.net> | 2004-04-21 04:25:44 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-04-21 04:25:44 +0000 |
commit | 0f3f7eee9aa16bfd0a07bdfc54fa478338525f87 (patch) | |
tree | a8def89cd6cac0c75979033daa70abbf919582d5 /cdr.c | |
parent | 22411494aa20f15ca2331a414b9e840556ac6019 (diff) |
Log that we are unregistering cdr module (bug 1460)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr.c')
-rwxr-xr-x | cdr.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,7 @@ #include <asterisk/logger.h> #include <asterisk/callerid.h> #include <asterisk/causes.h> +#include <asterisk/options.h> #include <unistd.h> #include <stdlib.h> #include <string.h> @@ -94,6 +95,8 @@ void ast_cdr_unregister(char *name) } i = i->next; } + if (option_verbose > 1) + ast_verbose(VERBOSE_PREFIX_2 "Unregistered '%s' CDR backend\n", name); ast_mutex_unlock(&cdrlock); if (i) free(i); |