[Asterisk-cvs] asterisk cdr.c,1.11,1.12
citats at lists.digium.com
citats at lists.digium.com
Wed Apr 21 00:21:17 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/home/citats/cvs/asterisk
Modified Files:
cdr.c
Log Message:
Log that we are unregistering cdr module (bug 1460)
Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cdr.c 11 Jan 2004 03:23:05 -0000 1.11
+++ cdr.c 21 Apr 2004 04:25:44 -0000 1.12
@@ -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 @@
}
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);
More information about the svn-commits
mailing list