1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

ftp: Replace main() with main in comments.

This commit is contained in:
Giuseppe Scrivano 2014-06-11 16:46:45 +02:00
parent 3e8f9a6436
commit c03855be40
4 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2014-06-11 Giuseppe Scrivano <gscrivan@redhat.com>
* ftp.c: Replace main() with main in comments.
* http.c: Likewise.
* init.c: Likewise.
* cmpt.c (day_of_the_week): Remove repeated word in a comment.
* utils.c: Remove repeated word in a comment.

View File

@ -1160,7 +1160,7 @@ Error in server response, closing control connection.\n"));
/* Open the file -- if output_stream is set, use it instead. */
/* 2005-04-17 SMS.
Note that having the output_stream ("-O") file opened in main()
Note that having the output_stream ("-O") file opened in main
(main.c) rather limits the ability in VMS to open the file
differently for ASCII versus binary FTP here. (Of course, doing it
there allows a open failure to be detected immediately, without first

View File

@ -3022,7 +3022,7 @@ http_loop (struct url *u, struct url *original_url, char **newloc,
/* Reset NEWLOC parameter. */
*newloc = NULL;
/* This used to be done in main(), but it's a better idea to do it
/* This used to be done in main, but it's a better idea to do it
here so that we don't go through the hoops if we're just using
FTP or whatever. */
if (opt.cookies)

View File

@ -833,8 +833,8 @@ setval_internal_tilde (int comind, const char *com, const char *val)
/* Run command COM with value VAL. If running the command produces an
error, report the error and exit.
This is intended to be called from main() to modify Wget's behavior
through command-line switches. Since COM is hard-coded in main(),
This is intended to be called from main to modify Wget's behavior
through command-line switches. Since COM is hard-coded in main,
it is not canonicalized, and this aborts when COM is not found.
If COMIND's are exported to init.h, this function will be changed
@ -1385,7 +1385,7 @@ cmd_spec_progress (const char *com, const char *val, void *place_ignored _GL_UNU
xfree_null (opt.progress_type);
/* Don't call set_progress_implementation here. It will be called
in main() when it becomes clear what the log output is. */
in main when it becomes clear what the log output is. */
opt.progress_type = xstrdup (val);
return true;
}