From: Anthony Minessale II Date: Fri, 3 Dec 2004 01:05:40 +0000 (+0000) Subject: add missing ~ to ast_parse_allow_deny that was breaking disallow X-Git-Tag: 1.2.0-beta1~1720 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07bce6f282e3a0138e70001b78af877ef2b6776f;p=thirdparty%2Fasterisk.git add missing ~ to ast_parse_allow_deny that was breaking disallow git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4377 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/frame.c b/frame.c index c3f0d94c9f..2b116fb03e 100755 --- a/frame.c +++ b/frame.c @@ -974,7 +974,7 @@ void ast_parse_allow_deny(struct ast_codec_pref *pref, int *mask, char *list, in if (allowing) (*mask) |= format_i; else - (*mask) &= format_i; + (*mask) &= ~format_i; } /* can't consider 'all' a prefered codec*/ if(pref && strcasecmp(last_format, "all")) {