]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix chan_misdn compile error.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 20 Jun 2012 21:32:40 +0000 (21:32 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 20 Jun 2012 21:32:40 +0000 (21:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369166 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index b81d7ca5a5b4ea9e91116731e7c76b89f4c5720d..bf9fd6a64ab30dd6026ef8463c82d22a1de9e915 100644 (file)
@@ -7583,7 +7583,7 @@ static enum ast_bridge_result misdn_bridge(struct ast_channel *c0,
                }
                f = ast_read(who);
 
-               if (!f || (f->frametype == AST_FRAME_CONTROL && f->subtype.integer != AST_CONTROL_PVT_CAUSE_CODE)) {
+               if (!f || (f->frametype == AST_FRAME_CONTROL && f->subclass.integer != AST_CONTROL_PVT_CAUSE_CODE)) {
                        /* got hangup .. */
 
                        if (!f) {