X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=295475d4c94285ae78b11aa6c4fcf82335d9c3aa;hp=36a8e9fbf5a195f30c3faf95813d0948142ada26;hb=bd74e419d6540fea8068b3b7a3964f73245cadd8;hpb=002def87d2d562d9d5b16cfcacc1e0a7dc233ca8 diff --git a/src/http.c b/src/http.c index 36a8e9fb..295475d4 100644 --- a/src/http.c +++ b/src/http.c @@ -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);