[asterisk-commits] russell: branch russell/console_devices r99225 - /team/russell/console_device...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 22 10:39:04 CST 2008


Author: russell
Date: Sat Jan 19 23:13:11 2008
New Revision: 99225

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99225
Log:
make the "active" setting actually work if you say active=no

Modified:
    team/russell/console_devices/channels/chan_console.c

Change Statistics:
 team/russell/console_devices/channels/chan_console.c |    3 +++
 1 file changed, 3 insertions(+)

Modified: team/russell/console_devices/channels/chan_console.c
URL: http://svn.digium.com/view/asterisk/team/russell/console_devices/channels/chan_console.c?view=diff&rev=99225&r1=99224&r2=99225
==============================================================================
--- team/russell/console_devices/channels/chan_console.c (original)
+++ team/russell/console_devices/channels/chan_console.c Sat Jan 19 23:13:11 2008
@@ -1182,6 +1182,9 @@
 		return;
 	}
 
+	if (!ast_true(value))
+		return;
+
 	if (active_pvt)
 		unref_pvt(active_pvt);
 	




More information about the asterisk-commits mailing list