--------------------- PatchSet 2799 Date: 2001/08/21 13:49:32 Author: rbcollins Branch: ntlm Tag: (none) Log: Code block reorganisation Members: src/authenticate.c:1.1.1.3.12.50->1.1.1.3.12.51 Index: squid/src/authenticate.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/authenticate.c,v retrieving revision 1.1.1.3.12.50 retrieving revision 1.1.1.3.12.51 diff -u -r1.1.1.3.12.50 -r1.1.1.3.12.51 --- squid/src/authenticate.c 21 Aug 2001 13:34:51 -0000 1.1.1.3.12.50 +++ squid/src/authenticate.c 21 Aug 2001 13:49:32 -0000 1.1.1.3.12.51 @@ -1,6 +1,6 @@ /* - * $Id: authenticate.c,v 1.1.1.3.12.50 2001/08/21 13:34:51 rbcollins Exp $ + * $Id: authenticate.c,v 1.1.1.3.12.51 2001/08/21 13:49:32 rbcollins Exp $ * * DEBUG: section 29 Authenticator * AUTHOR: Duane Wessels @@ -530,6 +530,7 @@ conn, headertype); switch (authenticateDirection(*auth_user_request)) { case 1: + case -2: /* this ACL check is finished. Unlock. */ authenticateAuthUserRequestUnlock(*auth_user_request); *auth_user_request = NULL; @@ -539,11 +540,6 @@ * the *auth_user_request variables stores the auth_user_request * for the callback to here - Do not Unlock */ return AUTH_ACL_HELPER; - case -2: - /* this ACL check is finished. Unlock. */ - authenticateAuthUserRequestUnlock(*auth_user_request); - *auth_user_request = NULL; - return AUTH_ACL_CHALLENGE; } /* on 0 the authentication is finished - fallthrough */ /* See of user authentication failed for some reason */