]> sjero.net Git - wget/blobdiff - src/host.c
Restore string after function call.
[wget] / src / host.c
index d915393c398a6e13ddc243caf5090bd9e22f2869..fdb35b1cad2bc92c5fa935eb2f7f5fbdfcbea493 100644 (file)
@@ -1,6 +1,6 @@
 /* Host name resolution and matching.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+   2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -712,7 +712,8 @@ lookup_host (const char *host, int flags)
   /* No luck with the cache; resolve HOST. */
 
   if (!silent && !numeric_address)
-    logprintf (LOG_VERBOSE, _("Resolving %s... "), escnonprint (host));
+    logprintf (LOG_VERBOSE, _("Resolving %s... "), 
+               quotearg_style (escape_quoting_style, host));
 
 #ifdef ENABLE_IPV6
   {