[asterisk-commits] russell: branch russell/chan_refcount r95189 - /team/russell/chan_refcount/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 28 11:09:17 CST 2007
Author: russell
Date: Fri Dec 28 11:09:17 2007
New Revision: 95189
URL: http://svn.digium.com/view/asterisk?view=rev&rev=95189
Log:
Wrap a debug line with the proper check for a define
Modified:
team/russell/chan_refcount/main/astobj2.c
Modified: team/russell/chan_refcount/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_refcount/main/astobj2.c?view=diff&rev=95189&r1=95188&r2=95189
==============================================================================
--- team/russell/chan_refcount/main/astobj2.c (original)
+++ team/russell/chan_refcount/main/astobj2.c Fri Dec 28 11:09:17 2007
@@ -172,8 +172,10 @@
res = ast_mutex_trylock(&p->priv_data.lock);
+#ifdef AO2_DEBUG
if (!res)
ast_atomic_fetchadd_int(&ao2.total_locked, 1);
+#endif
return res;
}
More information about the asterisk-commits
mailing list