]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Several build and run issues found
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 21 Jan 2010 23:52:16 +0000 (12:52 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 21 Jan 2010 23:52:16 +0000 (12:52 +1300)
src/auth/basic/auth_basic.cc
src/auth/negotiate/auth_negotiate.cc
src/auth/ntlm/auth_ntlm.cc

index 9bffc1b1ecc11f4642418882c7617b6b136fcda0..3a91b594b216923df26cdc26c1e2651d9b18f991 100644 (file)
@@ -294,7 +294,6 @@ AuthBasicConfig::dump(StoreEntry * entry, const char *name, AuthConfig * scheme)
 
 AuthBasicConfig::AuthBasicConfig() :
         authenticateChildren(20,0,1,1),
-        authenticateConcurrency(1),
         authenticate(NULL),
         credentialsTTL( 2*60*60 ),
         casesensitive(0),
index d318b3ed049b02a610424586a9786cdbb1869df7..68e38e0a7e4258a88d9abb32450558ffee6fa1be 100644 (file)
@@ -109,14 +109,10 @@ AuthNegotiateConfig::done()
     delete negotiateauthenticators;
     negotiateauthenticators = NULL;
 
-    debugs(29, 2, "negotiateScheme::done: Negotiate authentication Shutdown.");
-}
-
-void
-AuthNegotiateConfig::done()
-{
     if (authenticate)
         wordlistDestroy(&authenticate);
+
+    debugs(29, 2, "negotiateScheme::done: Negotiate authentication Shutdown.");
 }
 
 void
index 8e45709a11f5709d374bafbb8a8ffda549e2ac64..df807ceaea33e9f4c8bae5d50645396f17c9dc08 100644 (file)
@@ -90,15 +90,10 @@ AuthNTLMConfig::done()
     delete ntlmauthenticators;
     ntlmauthenticators = NULL;
 
-    debugs(29, 2, "ntlmScheme::done: NTLM authentication Shutdown.");
-}
-
-/* free any allocated configuration details */
-void
-AuthNTLMConfig::done()
-{
     if (authenticate)
         wordlistDestroy(&authenticate);
+
+    debugs(29, 2, "ntlmScheme::done: NTLM authentication Shutdown.");
 }
 
 void