From: Amos Jeffries Date: Fri, 22 Apr 2016 16:57:29 +0000 (+1200) Subject: Fix typo in rev.14651 X-Git-Tag: SQUID_4_0_10~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6a663717146a00d292344800fdd6ac5d8e68843;p=thirdparty%2Fsquid.git Fix typo in rev.14651 --- diff --git a/src/icmp/net_db.cc b/src/icmp/net_db.cc index 62ca03d144..c9b9178f10 100644 --- a/src/icmp/net_db.cc +++ b/src/icmp/net_db.cc @@ -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;