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
This commit is contained in:
parent
f66f382d5e
commit
b163206358
|
@ -1 +1 @@
|
|||
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)
|
||||
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))
|
||||
|
|
Loading…
Reference in New Issue