diff options
author | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-03 01:05:40 +0000 |
---|---|---|
committer | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-03 01:05:40 +0000 |
commit | 176778cc0d9667d9857154f53b7085ea15cc63c4 (patch) | |
tree | 5e783be071c760d818d54fd2ce48871892b232b0 /frame.c | |
parent | 42c5aa81a1b159ad1b7058861ad91848f56f08f4 (diff) |
add missing ~ to ast_parse_allow_deny that was breaking disallow
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4377 f38db490-d61c-443f-a65b-d21fe96a405b
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")) { |