Don't complain about not knowing about -1

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-03-08 02:09:56 +00:00
parent 3461b2f5bb
commit 653b86fa48

View File

@@ -1576,6 +1576,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i
state = f->subclass; state = f->subclass;
ast_frfree(f); ast_frfree(f);
break; break;
} else if (f->subclass == -1) {
/* Ignore -- just stopping indications */
} else { } else {
ast_log(LOG_NOTICE, "Don't know what to do with control frame %d\n", f->subclass); ast_log(LOG_NOTICE, "Don't know what to do with control frame %d\n", f->subclass);
} }