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 ""
|
msgid ""
|
||||||
"Server file no newer than local file `%s' -- not retrieving.\n"
|
"Server file no newer than local file `%s' -- not retrieving.\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr "Datoteka na poslužitelju nije novija od lokalne datoteke `%s' -- ne skidam."
|
||||||
|
|
||||||
#: src/ftp.c:1112 src/http.c:1109
|
#: src/ftp.c:1112 src/http.c:1109
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@ -522,7 +522,7 @@ msgstr "Nevaljan Last-Modified header -- ignoriram vremensku oznaku.\n"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"Server file no newer than local file `%s.orig' -- not retrieving.\n"
|
"Server file no newer than local file `%s.orig' -- not retrieving.\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr "Datoteka na poslužitelju nije novija od lokalne datoteke `%s.orig' -- ne skidam."
|
||||||
|
|
||||||
#: src/http.c:1113
|
#: src/http.c:1113
|
||||||
msgid "Remote file is newer, retrieving.\n"
|
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>
|
1999-09-24 Charles G Waldman <cgw@fnal.gov>
|
||||||
|
|
||||||
* netrc.c (parse_netrc): Allow passwords to contain spaces.
|
* netrc.c (parse_netrc): Allow passwords to contain spaces.
|
||||||
|
@ -134,6 +134,7 @@ static struct {
|
|||||||
{ "quota", &opt.quota, cmd_bytes },
|
{ "quota", &opt.quota, cmd_bytes },
|
||||||
{ "reclevel", &opt.reclevel, cmd_number_inf },
|
{ "reclevel", &opt.reclevel, cmd_number_inf },
|
||||||
{ "recursive", NULL, cmd_spec_recursive },
|
{ "recursive", NULL, cmd_spec_recursive },
|
||||||
|
{ "referer", &opt.referer, cmd_string },
|
||||||
{ "reject", &opt.rejects, cmd_vector },
|
{ "reject", &opt.rejects, cmd_vector },
|
||||||
{ "relativeonly", &opt.relative_only, cmd_boolean },
|
{ "relativeonly", &opt.relative_only, cmd_boolean },
|
||||||
{ "removelisting", &opt.remove_listing, cmd_boolean },
|
{ "removelisting", &opt.remove_listing, cmd_boolean },
|
||||||
@ -923,6 +924,7 @@ cleanup (void)
|
|||||||
FREE_MAYBE (opt.http_proxy);
|
FREE_MAYBE (opt.http_proxy);
|
||||||
free_vec (opt.no_proxy);
|
free_vec (opt.no_proxy);
|
||||||
FREE_MAYBE (opt.useragent);
|
FREE_MAYBE (opt.useragent);
|
||||||
|
FREE_MAYBE (opt.referer);
|
||||||
FREE_MAYBE (opt.http_user);
|
FREE_MAYBE (opt.http_user);
|
||||||
FREE_MAYBE (opt.http_passwd);
|
FREE_MAYBE (opt.http_passwd);
|
||||||
FREE_MAYBE (opt.user_header);
|
FREE_MAYBE (opt.user_header);
|
||||||
|
@ -265,6 +265,7 @@ main (int argc, char *const *argv)
|
|||||||
{ "timeout", required_argument, NULL, 'T' },
|
{ "timeout", required_argument, NULL, 'T' },
|
||||||
{ "tries", required_argument, NULL, 't' },
|
{ "tries", required_argument, NULL, 't' },
|
||||||
{ "user-agent", required_argument, NULL, 'U' },
|
{ "user-agent", required_argument, NULL, 'U' },
|
||||||
|
{ "referer", required_argument, NULL, 129 },
|
||||||
{ "use-proxy", required_argument, NULL, 'Y' },
|
{ "use-proxy", required_argument, NULL, 'Y' },
|
||||||
{ "wait", required_argument, NULL, 'w' },
|
{ "wait", required_argument, NULL, 'w' },
|
||||||
{ 0, 0, 0, 0 }
|
{ 0, 0, 0, 0 }
|
||||||
@ -549,6 +550,9 @@ GNU General Public License for more details.\n"));
|
|||||||
case 'U':
|
case 'U':
|
||||||
setval ("useragent", optarg);
|
setval ("useragent", optarg);
|
||||||
break;
|
break;
|
||||||
|
case 129:
|
||||||
|
setval ("referer", optarg);
|
||||||
|
break;
|
||||||
case 'w':
|
case 'w':
|
||||||
setval ("wait", optarg);
|
setval ("wait", optarg);
|
||||||
break;
|
break;
|
||||||
|
@ -120,6 +120,9 @@ struct options
|
|||||||
char *useragent; /* Naughty User-Agent, which can be
|
char *useragent; /* Naughty User-Agent, which can be
|
||||||
set to something other than
|
set to something other than
|
||||||
Wget. */
|
Wget. */
|
||||||
|
char *referer; /* Naughty Referer, which can be
|
||||||
|
set to something other than
|
||||||
|
NULL. */
|
||||||
int convert_links; /* Will the links be converted
|
int convert_links; /* Will the links be converted
|
||||||
locally? */
|
locally? */
|
||||||
int remove_listing; /* Do we remove .listing files
|
int remove_listing; /* Do we remove .listing files
|
||||||
|
@ -322,8 +322,9 @@ retrieve_url (const char *origurl, char **file, char **newloc,
|
|||||||
/* Set the referer. */
|
/* Set the referer. */
|
||||||
if (refurl)
|
if (refurl)
|
||||||
u->referer = xstrdup (refurl);
|
u->referer = xstrdup (refurl);
|
||||||
else
|
else {
|
||||||
u->referer = NULL;
|
u->referer = opt.referer;
|
||||||
|
}
|
||||||
|
|
||||||
local_use_proxy = USE_PROXY_P (u);
|
local_use_proxy = USE_PROXY_P (u);
|
||||||
if (local_use_proxy)
|
if (local_use_proxy)
|
||||||
|
Loading…
Reference in New Issue
Block a user