[asterisk-commits] kpfleming: trunk r215161 - /trunk/main/frame.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 1 14:50:52 CDT 2009


Author: kpfleming
Date: Tue Sep  1 14:50:48 2009
New Revision: 215161

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215161
Log:
Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
decoded.

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/frame.c?view=diff&rev=215161&r1=215160&r2=215161
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Tue Sep  1 14:50:48 2009
@@ -840,7 +840,7 @@
 			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;




More information about the asterisk-commits mailing list