[svn-commits] tilghman: branch 1.4 r1113 - /branches/1.4/cdr/cdr_addon_mysql.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue May 4 12:37:36 CDT 2010
Author: tilghman
Date: Tue May 4 12:37:31 2010
New Revision: 1113
URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1113
Log:
Log messages should be terminated with a newline.
(closes issue #16404)
Reported by: pnlarsson
Patches:
cdr.patch uploaded by pnlarsson (license 79)
Modified:
branches/1.4/cdr/cdr_addon_mysql.c
Modified: branches/1.4/cdr/cdr_addon_mysql.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.4/cdr/cdr_addon_mysql.c?view=diff&rev=1113&r1=1112&r2=1113
==============================================================================
--- branches/1.4/cdr/cdr_addon_mysql.c (original)
+++ branches/1.4/cdr/cdr_addon_mysql.c Tue May 4 12:37:31 2010
@@ -246,7 +246,7 @@
if (connected) {
if (mysql_real_query(&mysql, sqlcmd, strlen(sqlcmd))) {
- ast_log(LOG_ERROR, "mysql_cdr: Failed to insert into database: (%d) %s", mysql_errno(&mysql), mysql_error(&mysql));
+ ast_log(LOG_ERROR, "mysql_cdr: Failed to insert into database: (%d) %s\n", mysql_errno(&mysql), mysql_error(&mysql));
mysql_close(&mysql);
connected = 0;
} else {
More information about the svn-commits
mailing list