]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Don't pattern-match server redirects.
[wget] / src / http.c
index 36a8e9fbf5a195f30c3faf95813d0948142ada26..295475d4c94285ae78b11aa6c4fcf82335d9c3aa 100644 (file)
@@ -1996,7 +1996,7 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer,
   *newloc = NULL;
 
   /* Warn on (likely bogus) wildcard usage in HTTP.  */
-  if (has_wildcards_p (u->path))
+  if (opt.ftp_glob && has_wildcards_p (u->path))
     logputs (LOG_VERBOSE, _("Warning: wildcards not supported in HTTP.\n"));
 
   xzero (hstat);