From: Russell Bryant Date: Fri, 27 Mar 2009 01:40:28 +0000 (+0000) Subject: Don't act surprised if we get a -1 indication. X-Git-Tag: 11.0.0-beta1~5175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b043f8ab1bfdab732e4852af4fd84e0f78ccf7bd;p=thirdparty%2Fasterisk.git Don't act surprised if we get a -1 indication. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184515 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/file.c b/main/file.c index 7771a77c48..05f6ea6f6b 100644 --- a/main/file.c +++ b/main/file.c @@ -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: