From: Henrik Nordstrom Date: Tue, 15 Sep 2009 23:48:19 +0000 (+0200) Subject: Correct a mistyped asser usin = instead of == X-Git-Tag: SQUID_3_2_0_1~719 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e9d4067ceb45fb3d2a7ff802013196de81d515f;p=thirdparty%2Fsquid.git 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?