[sofia-sip] fix build on newer clang

This commit is contained in:
Mike Jerris authored and Andrey Volk committed 2020-05-07 03:03:37 +04:00
1 parent 40ba118936
commit 39892e05a7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;