summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-03-08 02:09:56 +0000
committerMark Spencer <markster@digium.com>2004-03-08 02:09:56 +0000
commit653b86fa48dda18a8d2c1bac1e2d2d9457c2718d (patch)
tree95e56e27391a09cd1bb06b02b376c055768ff0e7 /channel.c
parent3461b2f5bb0ef6af8d2990d8d4a7a774ddfecac7 (diff)
Don't complain about not knowing about -1
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index a56dfd91e..fac138580 100755
--- a/channel.c
+++ b/channel.c
@@ -1576,6 +1576,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i
state = f->subclass;
ast_frfree(f);
break;
+ } else if (f->subclass == -1) {
+ /* Ignore -- just stopping indications */
} else {
ast_log(LOG_NOTICE, "Don't know what to do with control frame %d\n", f->subclass);
}