Don't complain about not knowing about -1
authorMark Spencer <markster@digium.com>
Mon, 8 Mar 2004 02:09:56 +0000 (02:09 +0000)
committerMark Spencer <markster@digium.com>
Mon, 8 Mar 2004 02:09:56 +0000 (02:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2366 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index a56dfd9..fac1385 100755 (executable)
--- 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);
                                        }