mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
2
frame.c
2
frame.c
@@ -974,7 +974,7 @@ void ast_parse_allow_deny(struct ast_codec_pref *pref, int *mask, char *list, in
|
|||||||
if (allowing)
|
if (allowing)
|
||||||
(*mask) |= format_i;
|
(*mask) |= format_i;
|
||||||
else
|
else
|
||||||
(*mask) &= format_i;
|
(*mask) &= ~format_i;
|
||||||
}
|
}
|
||||||
/* can't consider 'all' a prefered codec*/
|
/* can't consider 'all' a prefered codec*/
|
||||||
if(pref && strcasecmp(last_format, "all")) {
|
if(pref && strcasecmp(last_format, "all")) {
|
||||||
|
Reference in New Issue
Block a user