From: Ghislain MARY Date: Fri, 15 Mar 2013 09:19:41 +0000 (+0100) Subject: Fix bug with the keywordcmp macro. X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=f6038bf3ef76588a8b71ddfb0e453364b2de89ba Fix bug with the keywordcmp macro. This macro was supposed to be passed a string literal as first argument but was used with a string pointer sometimes. --- diff --git a/coreapi/sal_eXosip2_sdp.c b/coreapi/sal_eXosip2_sdp.c index 9297077e..debd8550 100644 --- a/coreapi/sal_eXosip2_sdp.c +++ b/coreapi/sal_eXosip2_sdp.c @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "sal.h" #include -#define keywordcmp(key,b) strncmp(key,b,sizeof(key)) +#define keywordcmp(key,b) strcmp(key,b) #ifdef FOR_LATER