Your simplified code may not work. The intention of patching is to make wget invoke "retrieve_tree" funtion when it IS "FTP" and uses proxy, while your code works when it is NOT FTP and uses proxy.
On 1/10/06, Tony Lewis <[EMAIL PROTECTED]> wrote: > > I believe the following simplified code would have the same effect: > > if ((opt.recursive || opt.page_requisites || opt.use_proxy) > && url_scheme (*t) != SCHEME_FTP) > status = retrieve_tree (*t); > else > status = retrieve_url > (*t, &filename, &redirected_URL, NULL, &dt); > > > Tony > -- CHEN Peng <[EMAIL PROTECTED]>
