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.
This commit is contained in:
Ghislain MARY 2013-03-15 10:19:41 +01:00
parent e1552ee1ee
commit 992ff8dd1d

View file

@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "sal.h"
#include <eXosip2/eXosip.h>
#define keywordcmp(key,b) strncmp(key,b,sizeof(key))
#define keywordcmp(key,b) strcmp(key,b)
#ifdef FOR_LATER