diff options
author | Anthony Minessale II <anthmct@yahoo.com> | 2004-12-03 01:05:40 +0000 |
---|---|---|
committer | Anthony Minessale II <anthmct@yahoo.com> | 2004-12-03 01:05:40 +0000 |
commit | 07bce6f282e3a0138e70001b78af877ef2b6776f (patch) | |
tree | 5e783be071c760d818d54fd2ce48871892b232b0 /frame.c | |
parent | d069845b4634c0fb6b02fa844e2d8ea85b46b7d3 (diff) |
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
Diffstat (limited to 'frame.c')
-rwxr-xr-x | frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")) { |