]> sjero.net Git - wget/blobdiff - src/main.c
Remove misleading comment.
[wget] / src / main.c
index 40ea4f7611dd536421ec49f9bf27b0afe2706b90..fe4cac7a9045294a00dfbdc3eb0f0a97218bb79d 100644 (file)
@@ -76,7 +76,7 @@ extern char *compilation_string;
 extern char *system_getrc;
 extern char *link_string;
 /* defined in build_info.c */
-extern char *compiled_features[];
+extern const char *compiled_features[];
 /* Used for --version output in print_version */
 #define MAX_CHARS_PER_LINE      72
 #define TABULATION              4
@@ -786,9 +786,7 @@ print_version (void)
   int i;
 
   printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE);
-  /* compiled_features is a char*[]. We limit the characters per
-     line to MAX_CHARS_PER_LINE and prefix each line with a constant
-     number of spaces for proper alignment. */
+
   for (i = 0; compiled_features[i] != NULL; )
     {
       int line_length = MAX_CHARS_PER_LINE;
@@ -801,6 +799,7 @@ print_version (void)
       printf ("\n");
     }
   printf ("\n");
+
   /* Handle the case when $WGETRC is unset and $HOME/.wgetrc is
      absent. */
   printf ("%s\n", wgetrc_title);