diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-01 20:00:25 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-01 20:00:25 +0000 |
commit | f835270e08ca664d90feb798c683bffa62609ff7 (patch) | |
tree | cf7664c36962cdae06a439059896624a03f5ecfc /main | |
parent | d0b988eefe7d9e11f3e581c3d806bca0485245b7 (diff) |
Merged revisions 215161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r215161 | kpfleming | 2009-09-01 14:50:48 -0500 (Tue, 01 Sep 2009) | 3 lines
Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
decoded.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@215165 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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 f58e6a9ed..496da920c 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; |