X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhost.c;h=fccc0d6dc19f704a7fa3cd337cfe2bbb7e2cf326;hb=976cc5bfca3c360921bdb4cce38a225ce5a1bd46;hp=d9753ab63f1ee7df741eb108928d923b1862fe82;hpb=6895126a6829a0ed4699d1127b5bccb9555dbffe;p=wget diff --git a/src/host.c b/src/host.c index d9753ab6..fccc0d6d 100644 --- a/src/host.c +++ b/src/host.c @@ -622,8 +622,7 @@ cache_store (const char *host, struct address_list *al) ++al->refcount; hash_table_put (host_name_addresses_map, xstrdup_lower (host), al); -#ifdef ENABLE_DEBUG - if (opt.debug) + IF_DEBUG { int i; debug_logprintf ("Caching %s =>", host); @@ -631,7 +630,6 @@ cache_store (const char *host, struct address_list *al) debug_logprintf (" %s", pretty_print_address (al->addresses + i)); debug_logprintf ("\n"); } -#endif } /* Remove HOST from the DNS cache. Does nothing is HOST is not in