mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Changed some comments related with bug fix #23238, to make things clearer.
This commit is contained in:
parent
38243f993c
commit
9fa15c310f
@ -1092,7 +1092,7 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con)
|
|||||||
con->target = url_file_name (u);
|
con->target = url_file_name (u);
|
||||||
|
|
||||||
/* If the output_document was given, then this check was already done and
|
/* If the output_document was given, then this check was already done and
|
||||||
the file doesn't exist. Hence the !opt.output_document */
|
the file didn't exist. Hence the !opt.output_document */
|
||||||
if (opt.noclobber && !opt.output_document && file_exists_p (con->target))
|
if (opt.noclobber && !opt.output_document && file_exists_p (con->target))
|
||||||
{
|
{
|
||||||
logprintf (LOG_VERBOSE,
|
logprintf (LOG_VERBOSE,
|
||||||
|
@ -1825,7 +1825,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
|
|||||||
{
|
{
|
||||||
/* If opt.noclobber is turned on and file already exists, do not
|
/* If opt.noclobber is turned on and file already exists, do not
|
||||||
retrieve the file. But if the output_document was given, then this
|
retrieve the file. But if the output_document was given, then this
|
||||||
test was already done and the file doesn't exist. Hence the !opt.output_document */
|
test was already done and the file didn't exist. Hence the !opt.output_document */
|
||||||
logprintf (LOG_VERBOSE, _("\
|
logprintf (LOG_VERBOSE, _("\
|
||||||
File `%s' already there; not retrieving.\n\n"), hs->local_file);
|
File `%s' already there; not retrieving.\n\n"), hs->local_file);
|
||||||
/* If the file is there, we suppose it's retrieved OK. */
|
/* If the file is there, we suppose it's retrieved OK. */
|
||||||
@ -2379,7 +2379,7 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer,
|
|||||||
{
|
{
|
||||||
/* If opt.noclobber is turned on and file already exists, do not
|
/* If opt.noclobber is turned on and file already exists, do not
|
||||||
retrieve the file. But if the output_document was given, then this
|
retrieve the file. But if the output_document was given, then this
|
||||||
test was already done and the file doesn't exist. Hence the !opt.output_document */
|
test was already done and the file didn't exist. Hence the !opt.output_document */
|
||||||
logprintf (LOG_VERBOSE, _("\
|
logprintf (LOG_VERBOSE, _("\
|
||||||
File `%s' already there; not retrieving.\n\n"),
|
File `%s' already there; not retrieving.\n\n"),
|
||||||
hstat.local_file);
|
hstat.local_file);
|
||||||
|
Loading…
Reference in New Issue
Block a user