From: Amos Jeffries Date: Thu, 24 Sep 2009 09:07:52 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_0_STABLE20~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de3b81b667b7981c8111232a77669b19b6b2e74;p=thirdparty%2Fsquid.git Author: Henrik Nordstrom Correct a mistyped asser usin = instead of == in this case completely harmless but still wrong.. --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index bdb49070d3..80f959d5ec 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1035,7 +1035,7 @@ authDigestUserLinkNonce(DigestUser * user, digest_nonce_h * nonce) authDigestNonceLink(nonce); /* ping this nonce to this auth user */ - assert((nonce->user == NULL) || (nonce->user = user)); + assert((nonce->user == NULL) || (nonce->user == user)); /* we don't lock this reference because removing the user removes the * hash too. Of course if that changes we're stuffed so read the code huh?