]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
RedHat Bug # 111254: nested assignment in assert
authorhno <>
Thu, 8 Apr 2004 06:48:29 +0000 (06:48 +0000)
committerhno <>
Thu, 8 Apr 2004 06:48:29 +0000 (06:48 +0000)
ntlm/auth_ntlm.c(683): warning #187: use of "=" where "==" may have
been intended

src/auth/ntlm/auth_ntlm.cc

index 92fb2169887282809bdba16eef62e7d339cc8438..8c630d8d0ec1f23b5e3f010180d1bbc63bd970f2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: auth_ntlm.cc,v 1.38 2003/10/15 12:03:08 robertc Exp $
+ * $Id: auth_ntlm.cc,v 1.39 2004/04/08 00:48:29 hno Exp $
  *
  * DEBUG: section 29    NTLM Authenticator
  * AUTHOR: Robert Collins
@@ -769,7 +769,7 @@ authenticateNTLMStart(auth_user_request_t * auth_user_request, RH * handler, voi
     assert(ntlm_request);
     assert(handler);
     assert(data);
-    assert(auth_user->auth_type = AUTH_NTLM);
+    assert(auth_user->auth_type == AUTH_NTLM);
     debug(29, 9) ("authenticateNTLMStart: auth state '%d'\n", ntlm_request->auth_state);
 
     switch (ntlm_request->auth_state) {