]> sjero.net Git - wget/blobdiff - src/connect.c
[svn] More specific error message in resolve_bind_address.
[wget] / src / connect.c
index 52dc0b01f2e0f27301da5678d5dacb57b7d63e5c..80df36190aec541e9df123129e6124e06e62153e 100644 (file)
@@ -175,9 +175,10 @@ resolve_bind_address (const char *host, struct sockaddr *sa, int flags)
   al = lookup_host (host, flags | LH_SILENT | LH_PASSIVE);
   if (al == NULL)
     {
+      /* #### We should print the error message here. */
       logprintf (LOG_NOTQUIET,
-                _("Unable to convert `%s' to a bind address.  Reverting to ANY.\n"),
-                opt.bind_address);
+                _("%s: unable to resolve bind address `%s'; disabling bind.\n"),
+                exec_name, opt.bind_address);
       return 0;
     }