Don't act surprised if we get a -1 indication.
authorRussell Bryant <russell@russellbryant.com>
Fri, 27 Mar 2009 01:40:28 +0000 (01:40 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 27 Mar 2009 01:40:28 +0000 (01:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184515 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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: