]> sjero.net Git - wget/commitdiff
target -> targ; use OS_TYPE for VMS in build info string.
authorSteven Schweda <sms@antinode.info>
Thu, 24 Sep 2009 19:23:08 +0000 (12:23 -0700)
committerSteven Schweda <sms@antinode.info>
Thu, 24 Sep 2009 19:23:08 +0000 (12:23 -0700)
src/ChangeLog
src/ftp.c
src/main.c

index e6be4bf366dd2c173f070b4d25cc0b5c116801f8..4a26e4a5c62834ce1efb7b87289f75cc787fc04e 100644 (file)
@@ -1,3 +1,10 @@
+2009-09-24  Steven Schweda  <sms@antinode.info>
+
+       * main.c (print_version): Remove VMS-conditional build info
+       string; the new VMS builders use OS_TYPE.
+
+       * ftp.c (getftp): Fix accidental use of target -> targ.
+
 2009-09-24  Micah Cowan  <micah@cowan.name>
 
        * host.c (host_errstr): host_errstr should return const char *.
index dfdd83c8f9ed09e6936489cf069a04d96466766b..881c99be5139596ecd9d61fcd02ec16230432873 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -690,7 +690,7 @@ Error in server response, closing control connection.\n"));
           if (!opt.server_response)
             logprintf (LOG_VERBOSE, "==> CWD (%d) %s ... ", cwd_count,
                        quotearg_style (escape_quoting_style, target));
-          err = ftp_cwd (csock, target);
+          err = ftp_cwd (csock, targ);
           /* FTPRERR, WRITEFAILED, FTPNSFOD */
           switch (err)
             {
index dddc4b2425df1ad38015472e08d23d9513df42a9..40ea4f7611dd536421ec49f9bf27b0afe2706b90 100644 (file)
@@ -785,12 +785,7 @@ print_version (void)
   char *env_wgetrc, *user_wgetrc;
   int i;
 
-#ifdef __VMS
-  printf (_("GNU Wget %s built on VMS %s %s.\n\n"),
-   version_string, vms_arch(), vms_vers());
-#else /* def __VMS */
   printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE);
-#endif /* def __VMS */
   /* 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. */