]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Made GCC happier after r15240 [-Werror=shadow].
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 12 Jul 2017 15:00:48 +0000 (09:00 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 12 Jul 2017 15:00:48 +0000 (09:00 -0600)
src/ipcache.cc

index 05145bb3efd9da40941efbbd243b5ee2c6a7ce9a..4b4079ff6697649132b32940206a2f54961053d9 100644 (file)
@@ -404,13 +404,13 @@ purge_entries_fromhosts(void)
         ipcacheRelease(i);
 }
 
-ipcache_entry::ipcache_entry(const char *name) :
+ipcache_entry::ipcache_entry(const char *aName):
     lastref(0),
     expires(0),
     error_message(nullptr),
     locks(0) // XXX: use Lock type ?
 {
-    hash.key = xstrdup(name);
+    hash.key = xstrdup(aName);
     Tolower(static_cast<char*>(hash.key));
     expires = squid_curtime + Config.negativeDnsTtl;
 }