Commit 2232ed23 authored by Mikhail Zabaluev's avatar Mikhail Zabaluev

iptsec/auth_client.c: fix an endless loop goof

Ignore-this: f2ad98456178d96b569cad178454e11

darcs-hash:20090914164113-5b6ca-20acac78fc1be8467ae23d3d01bebb619f1dcc8e.gz
parent e37f57a6
......@@ -565,7 +565,7 @@ 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) {
for (other = *auc_list; other; other = other->ca_next) {
if (ca == other)
continue;
if (ca->ca_credential_class == other->ca_credential_class &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment