X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhost.c;h=9dc42e1043460b5a7f3046a516ab22d252a96f4c;hp=eaf70762d0f190e9c6d57793711a156393a6eed3;hb=72eca0976b06d20ed1a4aef2c47e74f9b590a3bb;hpb=9588e1af8012721db889faea24a771fd2763e50e diff --git a/src/host.c b/src/host.c index eaf70762..9dc42e10 100644 --- a/src/host.c +++ b/src/host.c @@ -221,7 +221,7 @@ realhost (const char *host) char *master_name; DEBUGP (("Checking for %s in host_name_address_map.\n", host)); - if (hash_table_exists (host_name_address_map, host)) + if (hash_table_contains (host_name_address_map, host)) { DEBUGP (("Found; %s was already used, by that name.\n", host)); return xstrdup_lower (host);