Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > c6bf44a7b4eda88648a3fec864d3052e > files > 10

asterisk-1.6.2.6-4mdv2010.1.src.rpm

--- branches/1.6.2/cdr/cdr_sqlite3_custom.c	2009/10/09 17:27:48	223173
+++ branches/1.6.2/cdr/cdr_sqlite3_custom.c	2010/03/14 17:48:54	252317
@@ -220,7 +220,7 @@
 	}
 }
 
-static int sqlite3_log(struct ast_cdr *cdr)
+static int write_cdr(struct ast_cdr *cdr)
 {
 	int res = 0;
 	char *error = NULL;
@@ -321,7 +321,7 @@
 		}
 	}
 
-	res = ast_cdr_register(name, desc, sqlite3_log);
+	res = ast_cdr_register(name, desc, write_cdr);
 	if (res) {
 		ast_log(LOG_ERROR, "Unable to register custom SQLite3 CDR handling\n");
 		free_config(0);