mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] *** empty log message ***
This commit is contained in:
parent
33dbab7add
commit
1dc66a6cf6
4
po/hr.po
4
po/hr.po
@ -213,7 +213,7 @@ msgstr "Dubina rekurzije %d prelazi najve
|
||||
msgid ""
|
||||
"Server file no newer than local file `%s' -- not retrieving.\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
msgstr "Datoteka na poslužitelju nije novija od lokalne datoteke `%s' -- ne skidam."
|
||||
|
||||
#: src/ftp.c:1112 src/http.c:1109
|
||||
#, fuzzy, c-format
|
||||
@ -522,7 +522,7 @@ msgstr "Nevaljan Last-Modified header -- ignoriram vremensku oznaku.\n"
|
||||
msgid ""
|
||||
"Server file no newer than local file `%s.orig' -- not retrieving.\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
msgstr "Datoteka na poslužitelju nije novija od lokalne datoteke `%s.orig' -- ne skidam."
|
||||
|
||||
#: src/http.c:1113
|
||||
msgid "Remote file is newer, retrieving.\n"
|
||||
|
BIN
po/pt_BR.gmo
BIN
po/pt_BR.gmo
Binary file not shown.
@ -1,3 +1,7 @@
|
||||
2000-01-30 Damir Dzeko <ddzeko@zesoi.fer.hr>
|
||||
|
||||
* http.c (gethttp): Send custom Referer, if required.
|
||||
|
||||
1999-09-24 Charles G Waldman <cgw@fnal.gov>
|
||||
|
||||
* netrc.c (parse_netrc): Allow passwords to contain spaces.
|
||||
|
@ -134,6 +134,7 @@ static struct {
|
||||
{ "quota", &opt.quota, cmd_bytes },
|
||||
{ "reclevel", &opt.reclevel, cmd_number_inf },
|
||||
{ "recursive", NULL, cmd_spec_recursive },
|
||||
{ "referer", &opt.referer, cmd_string },
|
||||
{ "reject", &opt.rejects, cmd_vector },
|
||||
{ "relativeonly", &opt.relative_only, cmd_boolean },
|
||||
{ "removelisting", &opt.remove_listing, cmd_boolean },
|
||||
@ -923,6 +924,7 @@ cleanup (void)
|
||||
FREE_MAYBE (opt.http_proxy);
|
||||
free_vec (opt.no_proxy);
|
||||
FREE_MAYBE (opt.useragent);
|
||||
FREE_MAYBE (opt.referer);
|
||||
FREE_MAYBE (opt.http_user);
|
||||
FREE_MAYBE (opt.http_passwd);
|
||||
FREE_MAYBE (opt.user_header);
|
||||
|
@ -265,6 +265,7 @@ main (int argc, char *const *argv)
|
||||
{ "timeout", required_argument, NULL, 'T' },
|
||||
{ "tries", required_argument, NULL, 't' },
|
||||
{ "user-agent", required_argument, NULL, 'U' },
|
||||
{ "referer", required_argument, NULL, 129 },
|
||||
{ "use-proxy", required_argument, NULL, 'Y' },
|
||||
{ "wait", required_argument, NULL, 'w' },
|
||||
{ 0, 0, 0, 0 }
|
||||
@ -549,6 +550,9 @@ GNU General Public License for more details.\n"));
|
||||
case 'U':
|
||||
setval ("useragent", optarg);
|
||||
break;
|
||||
case 129:
|
||||
setval ("referer", optarg);
|
||||
break;
|
||||
case 'w':
|
||||
setval ("wait", optarg);
|
||||
break;
|
||||
|
@ -120,6 +120,9 @@ struct options
|
||||
char *useragent; /* Naughty User-Agent, which can be
|
||||
set to something other than
|
||||
Wget. */
|
||||
char *referer; /* Naughty Referer, which can be
|
||||
set to something other than
|
||||
NULL. */
|
||||
int convert_links; /* Will the links be converted
|
||||
locally? */
|
||||
int remove_listing; /* Do we remove .listing files
|
||||
|
@ -322,9 +322,10 @@ retrieve_url (const char *origurl, char **file, char **newloc,
|
||||
/* Set the referer. */
|
||||
if (refurl)
|
||||
u->referer = xstrdup (refurl);
|
||||
else
|
||||
u->referer = NULL;
|
||||
|
||||
else {
|
||||
u->referer = opt.referer;
|
||||
}
|
||||
|
||||
local_use_proxy = USE_PROXY_P (u);
|
||||
if (local_use_proxy)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user