[asterisk-commits] russell: branch russell/ast_channel_ao2 r174187 - in /team/russell/ast_channe...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 7 10:25:13 CST 2009


Author: russell
Date: Sat Feb  7 10:25:12 2009
New Revision: 174187

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174187
Log:
sync with trunk

Modified:
    team/russell/ast_channel_ao2/   (props changed)
    team/russell/ast_channel_ao2/res/snmp/agent.c

Propchange: team/russell/ast_channel_ao2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/russell/ast_channel_ao2/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sat Feb  7 10:25:12 2009
@@ -1,1 +1,1 @@
-/trunk:1-174126
+/trunk:1-174170

Modified: team/russell/ast_channel_ao2/res/snmp/agent.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/res/snmp/agent.c?view=diff&rev=174187&r1=174186&r2=174187
==============================================================================
--- team/russell/ast_channel_ao2/res/snmp/agent.c (original)
+++ team/russell/ast_channel_ao2/res/snmp/agent.c Sat Feb  7 10:25:12 2009
@@ -585,9 +585,9 @@
 	case ASTCHANTYPECHANNELS:
 		long_ret = 0;
 		for (chan = ast_channel_walk_locked(NULL); chan; chan = ast_channel_walk_locked(chan)) {
-			ast_channel_unlock(chan);
 			if (chan->tech == tech)
 				long_ret++;
+			ast_channel_unlock(chan);
 		}
 		return (u_char *)&long_ret;
 	default:




More information about the asterisk-commits mailing list