提交 b1632063 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix typo in sofia that causes endless loop when you have a challenge with 2 auth headers in it

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17114 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f66f382d
Wed Jan 13 09:48:12 CST 2010
Fri Mar 26 12:20:14 CDT 2010
......@@ -565,9 +565,11 @@ int auc_has_authorization(auth_client_t **auc_list)
* Check if we have another challenge with same realm but different
* scheme
*/
for (other = *auc_list; other; other = ca->ca_next) {
if (ca == other)
continue;
for (other = *auc_list; other; other = other->ca_next) {
if (ca == other) {
continue;
}
if (ca->ca_credential_class == other->ca_credential_class &&
su_strcmp(ca->ca_realm, other->ca_realm) == 0 &&
ca_has_authorization(other))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论