From 3385930e6ce033c639d6d2dbcdc06af6c842bb4c Mon Sep 17 00:00:00 2001 From: aymeric Date: Fri, 27 Feb 2009 18:07:47 +0000 Subject: [PATCH] fix bug for size of ICE-CONTROLLXX attributes git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@284 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/oRTP/src/stun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone/oRTP/src/stun.c b/linphone/oRTP/src/stun.c index b82115280..3ba2fc141 100644 --- a/linphone/oRTP/src/stun.c +++ b/linphone/oRTP/src/stun.c @@ -382,7 +382,7 @@ iceParseAtrPriority( char* body, unsigned int hdrLen, IceAtrPriority *result ) static bool_t iceParseAtrIceControll( char* body, unsigned int hdrLen, IceAtrIceControll *result ) { - if ( hdrLen != sizeof(result) ) + if ( hdrLen != 8 ) { ortp_error("stun: Incorrect size for ICEA_ICECONTROLLED/ICEA_ICECONTROLLING"); return FALSE;