]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct a mistyped asser usin = instead of ==
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Tue, 15 Sep 2009 23:48:19 +0000 (01:48 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Tue, 15 Sep 2009 23:48:19 +0000 (01:48 +0200)
in this case completely harmless but still wrong..

src/auth/digest/auth_digest.cc

index 46041ba7755bf901135223e9f6cf6a2968afe38a..9cdcaa9927cc7337b8e3de65719e4456cfcd3740 100644 (file)
@@ -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?