From: hno <> Date: Thu, 8 Apr 2004 06:48:29 +0000 (+0000) Subject: RedHat Bug # 111254: nested assignment in assert X-Git-Tag: SQUID_3_0_PRE4~1104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9970d4b163593f944b56fabfd8d77792cadea99e;p=thirdparty%2Fsquid.git RedHat Bug # 111254: nested assignment in assert ntlm/auth_ntlm.c(683): warning #187: use of "=" where "==" may have been intended --- diff --git a/src/auth/ntlm/auth_ntlm.cc b/src/auth/ntlm/auth_ntlm.cc index 92fb216988..8c630d8d0e 100644 --- a/src/auth/ntlm/auth_ntlm.cc +++ b/src/auth/ntlm/auth_ntlm.cc @@ -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) {