diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-01 19:50:48 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-01 19:50:48 +0000 |
commit | cd4f1047ecbcf9ff1c3ee7e5d46e0540142ca0a1 (patch) | |
tree | 43494fac19517b8b4d2323c0403a3e52f4f9d75a /main/frame.c | |
parent | 393cb2ca24f3c8310de94bc64eca2d5913667711 (diff) |
Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
decoded.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@215161 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 2 |
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; |