mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
Merged revisions 158072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r158072 | twilson | 2008-11-20 11:48:58 -0600 (Thu, 20 Nov 2008) | 2 lines Begin on a crusade to end trailing whitespace! ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -20,14 +20,14 @@
|
||||
/*! \file
|
||||
*
|
||||
* \brief Store CDR records in a SQLite database.
|
||||
*
|
||||
*
|
||||
* \author Holger Schurig <hs4233@mail.mn-solutions.de>
|
||||
* \extref SQLite http://www.sqlite.org/
|
||||
*
|
||||
* See also
|
||||
* \arg \ref Config_cdr
|
||||
* \arg http://www.sqlite.org/
|
||||
*
|
||||
*
|
||||
* Creates the database and table on-the-fly
|
||||
* \ingroup cdr_drivers
|
||||
*
|
||||
@@ -149,7 +149,7 @@ static int sqlite_log(struct ast_cdr *cdr)
|
||||
break;
|
||||
usleep(200);
|
||||
}
|
||||
|
||||
|
||||
if (zErr) {
|
||||
ast_log(LOG_ERROR, "cdr_sqlite: %s\n", zErr);
|
||||
ast_free(zErr);
|
||||
@@ -197,7 +197,7 @@ static int load_module(void)
|
||||
|
||||
/* TODO: here we should probably create an index */
|
||||
}
|
||||
|
||||
|
||||
res = ast_cdr_register(name, ast_module_info->description, sqlite_log);
|
||||
if (res) {
|
||||
ast_log(LOG_ERROR, "Unable to register SQLite CDR handling\n");
|
||||
|
||||
Reference in New Issue
Block a user