mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Propagate referrer information from retrieve_tree to retrieve_url.
Submitted by Ian Abbott in <3C1F4BFE.17436.D2D7B2@localhost>.
This commit is contained in:
parent
daa2fd1afd
commit
416671063a
@ -1,3 +1,8 @@
|
||||
2001-12-18 Ian Abbott <abbotti@mev.co.uk>
|
||||
|
||||
* recur.c (retrieve_tree): Pass on referring URL when retrieving
|
||||
recursed URL.
|
||||
|
||||
2001-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* version.c: Wget 1.8.1-pre2 is released.
|
||||
|
@ -237,7 +237,7 @@ retrieve_tree (const char *start_url)
|
||||
int oldrec = opt.recursive;
|
||||
|
||||
opt.recursive = 0;
|
||||
status = retrieve_url (url, &file, &redirected, NULL, &dt);
|
||||
status = retrieve_url (url, &file, &redirected, referer, &dt);
|
||||
opt.recursive = oldrec;
|
||||
|
||||
if (file && status == RETROK
|
||||
|
Loading…
Reference in New Issue
Block a user