1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 09:32:34 +00:00

[sofia-sip] fix build on newer clang

This commit is contained in:
Mike Jerris 2020-04-01 12:53:44 -06:00 committed by Andrey Volk
parent 40ba118936
commit 39892e05a7
2 changed files with 2 additions and 2 deletions
libs/sofia-sip
.update
libsofia-sip-ua/sip

@ -1 +1 @@
Sat Mar 28 10:36:01 UTC 2020
Wed Apr 1 12:53:24 MDT 2020

@ -312,7 +312,7 @@ int sip_prefs_matching(char const *pvalue,
int sip_is_callerpref(char const *param)
{
#define MATCH(s) \
(su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
(su_casenmatch(&param[1], &s[1], strlen(s) - 1) && \
(param[strlen(s)] == '=' || param[strlen(s)] == '\0'))
int xor = 0, base = 0;