Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c (17113 => 17114)
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c 2010-03-26 16:51:12 UTC (rev 17113)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c 2010-03-26 17:38:00 UTC (rev 17114)
@@ -565,9 +565,11 @@
* 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))