[asterisk-addons-commits] russell: trunk r429 - in /trunk: ./	res_config_mysql.c
    SVN commits to the Asterisk addons project 
    asterisk-addons-commits at lists.digium.com
       
    Thu Aug 23 12:23:20 CDT 2007
    
    
  
Author: russell
Date: Thu Aug 23 12:23:19 2007
New Revision: 429
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=429
Log:
Merged revisions 428 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-addons/branches/1.4
........
r428 | russell | 2007-08-23 12:21:44 -0500 (Thu, 23 Aug 2007) | 4 lines
Fix a format string error that caused a crash.  This debug message tried to
print something as string that was just an int.
(closes issue #10520, reported by johann8384, patch by me)
........
Modified:
    trunk/   (props changed)
    trunk/res_config_mysql.c
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.4-merged (original)
+++ branch-1.4-merged Thu Aug 23 12:23:19 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-299,308,310,317,319,329,342,348,358,380,382,387,389,398,405,410,414,417,423
+/branches/1.4:1-299,308,310,317,319,329,342,348,358,380,382,387,389,398,405,410,414,417,423,428
Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?view=diff&rev=429&r1=428&r2=429
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Thu Aug 23 12:23:19 2007
@@ -861,7 +861,7 @@
 		conn->connect_time = time(NULL);
 
 		if (mysql_select_db(&conn->handle, conn->name) != 0) {
-			ast_log(LOG_WARNING, "MySQL RealTime: Unable to select database: %s. Still Connected (%d) - %s.\n", conn->name, mysql_errno(&conn->handle), mysql_error(&conn->handle));
+			ast_log(LOG_WARNING, "MySQL RealTime: Unable to select database: %s. Still Connected (%u) - %s.\n", conn->name, mysql_errno(&conn->handle), mysql_error(&conn->handle));
 			return 0;
 		}
 
    
    
More information about the asterisk-addons-commits
mailing list