mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Begin on a crusade to end trailing whitespace!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158072 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
|
||||
*
|
||||
@@ -151,7 +151,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);
|
||||
@@ -199,7 +199,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