Print f->subclass.integer instead of f->subclass.
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 16 Jul 2010 18:05:01 +0000 (18:05 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 16 Jul 2010 18:05:01 +0000 (18:05 +0000)
(fix build breakage introduced in r277250)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277262 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index a80eeee..6519c9e 100644 (file)
@@ -3860,7 +3860,7 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
                                         */
                                        if (ast_tvdiff_ms(now, chan->dtmf_tv) < AST_MIN_DTMF_DURATION) {
                                                f->len = ast_tvdiff_ms(now, chan->dtmf_tv);
-                                               ast_log(LOG_DTMF, "DTMF end '%c' detected to have actual duration %ld on the wire, emulation will be triggered on %s\n", f->subclass, f->len, chan->name);
+                                               ast_log(LOG_DTMF, "DTMF end '%c' detected to have actual duration %ld on the wire, emulation will be triggered on %s\n", f->subclass.integer, f->len, chan->name);
                                        }
                                } else if (!f->len) {
                                        ast_log(LOG_DTMF, "DTMF end accepted without begin '%c' on %s\n", f->subclass.integer, chan->name);