]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)
authorJoshua Colp <jcolp@digium.com>
Fri, 1 Sep 2006 16:28:08 +0000 (16:28 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 1 Sep 2006 16:28:08 +0000 (16:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41690 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index a55dcb38376451ffece53e687c8aba539b2f9915..1a441c59f739896a03e55c1a2f54e5a738cf586d 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -1780,6 +1780,7 @@ int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd)
                                        break;
                                default:
                                        ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", f->subclass);
+                                       break;
                                }
                        case AST_FRAME_VOICE:
                                /* Write audio if appropriate */