Skip to content
Snippets Groups Projects
Commit 653b86fa authored by Mark Spencer's avatar Mark Spencer
Browse files

Don't complain about not knowing about -1

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3461b2f5
Branches
Tags
No related merge requests found
...@@ -1576,6 +1576,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment