aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 21:53:30 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 21:53:30 +0000
commitaba5f500174364048851d623c45341213e25a15d (patch)
treec1ab62d0fd2e13e37e98014df4f5efc05b0fcb83
parent4568a881f98f1be43e142357f5e9b25f24464ba5 (diff)
Ignore a control subclass of -1 in ast_waitfordigit_full().
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279636 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index 175f9d19f..00f3f7863 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3429,6 +3429,7 @@ int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd)
case AST_CONTROL_SRCCHANGE:
case AST_CONTROL_CONNECTED_LINE:
case AST_CONTROL_REDIRECTING:
+ case -1:
/* Unimportant */
break;
default: