bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH 14/14] ftp: Replace main() with main in comments.


From: gscrivano
Subject: [Bug-wget] [PATCH 14/14] ftp: Replace main() with main in comments.
Date: Wed, 11 Jun 2014 17:05:25 +0200

From: Giuseppe Scrivano <address@hidden>

---
 src/ChangeLog | 4 ++++
 src/ftp.c     | 2 +-
 src/http.c    | 2 +-
 src/init.c    | 6 +++---
 4 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 0a4f4dc..07d7f38 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
 2014-06-11  Giuseppe Scrivano  <address@hidden>
 
+       * 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.
 
diff --git a/src/ftp.c b/src/ftp.c
index 5f4ef03..2d54333 100644
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -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
diff --git a/src/http.c b/src/http.c
index c6ec170..9e4dfa4 100644
--- a/src/http.c
+++ b/src/http.c
@@ -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)
diff --git a/src/init.c b/src/init.c
index 5828aa0..93e95f8 100644
--- a/src/init.c
+++ b/src/init.c
@@ -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;
 }
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]