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
This commit is contained in:
aymeric 2009-02-27 18:07:47 +00:00
parent 215d1519bf
commit 3385930e6c

View file

@ -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;