[svn-commits] mmichelson: trunk r133102 - in /trunk: ./ apps/app_chanspy.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 23 13:58:37 CDT 2008


Author: mmichelson
Date: Wed Jul 23 13:58:37 2008
New Revision: 133102

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133102
Log:
Merged revisions 133101 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r133101 | mmichelson | 2008-07-23 13:57:17 -0500 (Wed, 23 Jul 2008) | 6 lines

Update the "last" channel in next_channel in app_chanspy so
that the same pseudo channel isn't constantly returned.

related to issue #13124


........

Modified:
    trunk/   (props changed)
    trunk/apps/app_chanspy.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=133102&r1=133101&r2=133102
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Wed Jul 23 13:58:37 2008
@@ -610,6 +610,7 @@
 
 	snprintf(channel_name, AST_CHANNEL_NAME, "%s/pseudo", dahdi_chan_name);
 	if (!strncmp(next->name, channel_name, 10)) {
+		last = next;
 		ast_channel_unlock(next);
 		goto redo;
 	} else if (next == chan) {




More information about the svn-commits mailing list