]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2009 09:07:52 +0000 (21:07 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2009 09:07:52 +0000 (21:07 +1200)
Correct a mistyped asser usin = instead of ==

in this case completely harmless but still wrong..

src/auth/digest/auth_digest.cc

index bdb49070d31bd7a84aa65e156802217569154fa5..80f959d5ece8d0df5fa383b18e5215e78f73c670 100644 (file)
@@ -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?