]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typo in rev.14651
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 22 Apr 2016 16:57:29 +0000 (04:57 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 22 Apr 2016 16:57:29 +0000 (04:57 +1200)
src/icmp/net_db.cc

index 62ca03d1449817be189915dfaaf144011127d915..c9b9178f100707c49c2496581f917a725318de93 100644 (file)
@@ -154,6 +154,7 @@ net_db_name::net_db_name(const char *hostname, netdbEntry *e) :
     next(e ? e->hosts : nullptr),
     net_db_entry(e)
 {
+    hash.key = xstrdup(hostname);
     if (e) {
         e->hosts = this;
         ++ e->link_count;