[svn-commits] tilghman: branch 1.6.1 r724 - /branches/1.6.1/cdr/cdr_addon_mysql.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 13 11:38:07 CST 2009


Author: tilghman
Date: Tue Jan 13 11:38:07 2009
New Revision: 724

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=724
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.1/cdr/cdr_addon_mysql.c

Modified: branches/1.6.1/cdr/cdr_addon_mysql.c
URL: http://svn.digium.com/svn-view/asterisk-addons/branches/1.6.1/cdr/cdr_addon_mysql.c?view=diff&rev=724&r1=723&r2=724
==============================================================================
--- branches/1.6.1/cdr/cdr_addon_mysql.c (original)
+++ branches/1.6.1/cdr/cdr_addon_mysql.c Tue Jan 13 11:38:07 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 svn-commits mailing list