]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typo, assert checking wrong value.
authoramosjeffries <>
Sat, 4 Aug 2007 09:08:36 +0000 (09:08 +0000)
committeramosjeffries <>
Sat, 4 Aug 2007 09:08:36 +0000 (09:08 +0000)
src/auth/ntlm/auth_ntlm.cc

index 7cfd741429139776cf3ddfb89d21ed040f18fe48..26a5679d0b69fb8b49d40daa92598c12c538061c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: auth_ntlm.cc,v 1.73 2007/08/03 01:57:30 amosjeffries Exp $
+ * $Id: auth_ntlm.cc,v 1.74 2007/08/04 03:08:36 amosjeffries Exp $
  *
  * DEBUG: section 29    NTLM Authenticator
  * AUTHOR: Robert Collins, Henrik Nordstrom, Francesco Chemolli
@@ -374,7 +374,7 @@ authenticateNTLMHandleReply(void *data, void *lastserver, char *reply)
     assert(auth_user->auth_type == AUTH_NTLM);
     ntlm_user = dynamic_cast<ntlm_user_t *>(auth_user_request->user());
 
-    assert(ntlm_request != NULL);
+    assert(ntlm_user != NULL);
 
     if (ntlm_request->authserver == NULL)
         ntlm_request->authserver = static_cast<helper_stateful_server*>(lastserver);