FS-7294: Enable -Werror when building with clang compiler

This commit is contained in:
Michael Jerris 2015-02-17 16:47:17 -05:00
parent 85a5e1db1d
commit 5f55790d72
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}