Suppress warning in waitstream_core().
authorRichard Mudgett <rmudgett@digium.com>
Mon, 7 Jun 2010 15:51:39 +0000 (15:51 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 7 Jun 2010 15:51:39 +0000 (15:51 +0000)
Suppress the warning about unexpected control subclass frames for
AST_CONTROL_CONNECTED_LINE, AST_CONTROL_REDIRECTING, and AST_CONTROL_AOC
in file.c:waitstream_core().

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268578 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/file.c

index 305317d..c75d5d4 100644 (file)
@@ -1276,6 +1276,9 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
                                case AST_CONTROL_SRCCHANGE:
                                case AST_CONTROL_HOLD:
                                case AST_CONTROL_UNHOLD:
+                               case AST_CONTROL_CONNECTED_LINE:
+                               case AST_CONTROL_REDIRECTING:
+                               case AST_CONTROL_AOC:
                                case -1:
                                        /* Unimportant */
                                        break;