]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 1 Sep 2009 19:50:48 +0000 (19:50 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 1 Sep 2009 19:50:48 +0000 (19:50 +0000)
decoded.

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

main/frame.c

index ea902db8c96b0089de1cfdfa3309523831c611fe..7b8a3cc9fbef444a8880a50be5f0c7327ce97aea 100644 (file)
@@ -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;