[asterisk-commits] qwell: branch 1.6.2 r229752 - in /branches/1.6.2: ./ channels/chan_oss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 12 17:31:48 CST 2009
Author: qwell
Date: Thu Nov 12 17:31:44 2009
New Revision: 229752
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=229752
Log:
Merged revisions 229750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r229750 | qwell | 2009-11-12 17:30:10 -0600 (Thu, 12 Nov 2009) | 1 line
Fix mute toggling on OSS channels.
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/channels/chan_oss.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_oss.c?view=diff&rev=229752&r1=229751&r2=229752
==============================================================================
--- branches/1.6.2/channels/chan_oss.c (original)
+++ branches/1.6.2/channels/chan_oss.c Thu Nov 12 17:31:44 2009
@@ -1147,9 +1147,9 @@
}
s = a->argv[e->args-2];
if (!strcasecmp(s, "mute"))
- o->mute = toggle ? ~o->mute : 1;
+ o->mute = toggle ? !o->mute : 1;
else if (!strcasecmp(s, "unmute"))
- o->mute = toggle ? ~o->mute : 0;
+ o->mute = toggle ? !o->mute : 0;
else
return CLI_SHOWUSAGE;
ast_cli(a->fd, "Console mic is %s\n", o->mute ? "off" : "on");
More information about the asterisk-commits
mailing list