[asterisk-addons-commits] tilghman: branch 1.6.0 r723 - /branches/1.6.0/cdr/cdr_addon_mysql.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Tue Jan 13 11:37:48 CST 2009


Author: tilghman
Date: Tue Jan 13 11:37:48 2009
New Revision: 723

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=723
Log:
Last commit didn't quite merge correctly
(Closes issue #14229)
Reported by: sergee
 Patches: 
       cdr-mysql-r721.diff uploaded by sergee (license 138)

Modified:
    branches/1.6.0/cdr/cdr_addon_mysql.c

Modified: branches/1.6.0/cdr/cdr_addon_mysql.c
URL: http://svn.digium.com/svn-view/asterisk-addons/branches/1.6.0/cdr/cdr_addon_mysql.c?view=diff&rev=723&r1=722&r2=723
==============================================================================
--- branches/1.6.0/cdr/cdr_addon_mysql.c (original)
+++ branches/1.6.0/cdr/cdr_addon_mysql.c Tue Jan 13 11:37:48 2009
@@ -472,11 +472,12 @@
 		calldate_compat = 0;
 	}
 
-	if (res < 0)
+	if (res < 0) {
 		if (reload) {
 			AST_RWLIST_UNLOCK(&columns);
 		}
 		return AST_MODULE_LOAD_FAILURE;
+	}
 
 	/* Check for any aliases */
 	if (!reload) {




More information about the asterisk-addons-commits mailing list