Don't act surprised if we get a -1 indication.
[asterisk/asterisk.git] / main / file.c
index 7771a77..05f6ea6 100644 (file)
@@ -1234,6 +1234,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
                                case AST_CONTROL_SRCUPDATE:
                                case AST_CONTROL_HOLD:
                                case AST_CONTROL_UNHOLD:
+                               case -1:
                                        /* Unimportant */
                                        break;
                                default: