]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix argument name conflict in Auth::Config::findUserInCache
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 10 Feb 2014 12:37:47 +0000 (13:37 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 10 Feb 2014 12:37:47 +0000 (13:37 +0100)
src/auth/Config.cc

index e4430800e12aad3e5389a8068c00652301bb6f45..a50c13b308d522f85c5cef1f7b20dfa61b12b796 100644 (file)
@@ -132,14 +132,14 @@ Auth::Config::done()
 }
 
 Auth::User::Pointer
-Auth::Config::findUserInCache(const char *nameKey, Auth::Type type)
+Auth::Config::findUserInCache(const char *nameKey, Auth::Type authType)
 {
     AuthUserHashPointer *usernamehash;
     debugs(29, 9, "Looking for user '" << nameKey << "'");
 
     if (nameKey && (usernamehash = static_cast<AuthUserHashPointer *>(hash_lookup(proxy_auth_username_cache, nameKey)))) {
         while (usernamehash) {
-            if ((usernamehash->user()->auth_type == type) &&
+            if ((usernamehash->user()->auth_type == authType) &&
                     !strcmp(nameKey, (char const *)usernamehash->key))
                 return usernamehash->user();