[asterisk-commits] tilghman: trunk r178573 - /trunk/res/res_odbc.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 25 13:03:35 CST 2009
Author: tilghman
Date: Wed Feb 25 13:03:35 2009
New Revision: 178573
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=178573
Log:
Oops, wrong direction of command
Modified:
trunk/res/res_odbc.c
Modified: trunk/res/res_odbc.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/res/res_odbc.c?view=diff&rev=178573&r1=178572&r2=178573
==============================================================================
--- trunk/res/res_odbc.c (original)
+++ trunk/res/res_odbc.c Wed Feb 25 13:03:35 2009
@@ -1248,7 +1248,7 @@
}
} else {
/* Non-pooled connection: multiple modules can use the same connection. */
- if (!(obj = ao2_callback(class->obj_container, 0, aoro2_obj_cb, NO_TX))) {
+ if ((obj = ao2_callback(class->obj_container, 0, aoro2_obj_cb, NO_TX))) {
/* Object is not constructed, so delete outstanding reference to class. */
ast_assert(ao2_ref(class, 0) > 1);
ao2_ref(class, -1);
More information about the asterisk-commits
mailing list