summaryrefslogtreecommitdiff
path: root/main/frame.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-09-01 19:50:48 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-09-01 19:50:48 +0000
commitcf0076c5f3e29a2ceb9fec526081de8574d3195e (patch)
tree43494fac19517b8b4d2323c0403a3e52f4f9d75a /main/frame.c
parent8c56b871deb49b70a0ef6215c4e5dada81e9ee17 (diff)
Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
decoded. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/frame.c')
-rw-r--r--main/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c
index ea902db8c..7b8a3cc9f 100644
--- a/main/frame.c
+++ b/main/frame.c
@@ -840,7 +840,7 @@ void ast_frame_dump(const char *name, struct ast_frame *f, char *prefix)
strcpy(subclass, "Unhold");
break;
case AST_CONTROL_T38_PARAMETERS:
- if (f->datalen != sizeof(struct ast_control_t38_parameters *)) {
+ if (f->datalen != sizeof(struct ast_control_t38_parameters)) {
message = "Invalid";
} else {
struct ast_control_t38_parameters *parameters = f->data.ptr;