Skip to content
Snippets Groups Projects
Commit 07bce6f2 authored by Anthony Minessale II's avatar Anthony Minessale II
Browse files

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
parent d069845b
No related branches found
No related tags found
No related merge requests found
......@@ -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")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment