X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Frecur.c;h=9de774c44997664ab1da711b61ee79b8aa5517c1;hb=248cb3e907818ba890eae6fbece663e6e41def7b;hp=a8fc71af5fd000ef22acc849dbb620f6f274dde2;hpb=cfc064c9b7d697f282c770448f8a79044c44563b;p=wget diff --git a/src/recur.c b/src/recur.c index a8fc71af..9de774c4 100644 --- a/src/recur.c +++ b/src/recur.c @@ -325,7 +325,7 @@ retrieve_tree (const char *start_url) struct urlpos *child = children; struct url *url_parsed = url_parsed = url_parse (url, NULL); char *referer_url = url; - bool strip_auth = url_parsed->user; + bool strip_auth = (bool)url_parsed->user; assert (url_parsed != NULL); /* Strip auth info if present */