From: Amos Jeffries Date: Thu, 24 Sep 2009 09:06:06 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_1_0_14~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=703706046300e31dbd19c4c7c8477f307084cf53;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 46041ba775..9cdcaa9927 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1036,7 +1036,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?