FS-7294: Enable -Werror when building with clang compiler
This commit is contained in:
parent
85a5e1db1d
commit
5f55790d72
|
@ -516,7 +516,7 @@ sres_sip_url_transport(url_t const *uri)
|
|||
if (len >= sizeof parameter)
|
||||
return -1;
|
||||
|
||||
for (i = 0; sres_sip_tports[i].stp_name; i++) {
|
||||
for (i = 0; *sres_sip_tports[i].stp_name; i++) {
|
||||
if (su_casematch(parameter, sres_sip_tports[i].stp_name))
|
||||
return sres_sip_tports[i].stp_number;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue