]> sjero.net Git - wget/commitdiff
[svn] Consistently print \n at the end of the "Length" line.
authorhniksic <devnull@localhost>
Mon, 16 May 2005 12:41:29 +0000 (05:41 -0700)
committerhniksic <devnull@localhost>
Mon, 16 May 2005 12:41:29 +0000 (05:41 -0700)
src/ChangeLog
src/ftp.c

index 6b6d63551800834632f200350d47c3fac8b44d5d..a1849db37485617c2b6e1d5e20b3e6d48ad722f2 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-16  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ftp.c (print_length): Consistently print \n at end of the
+       "Length" line.
+
 2005-05-14  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * openssl.c (ssl_connect): Announce the beginning and the end of
index 4ec30a4ace67e0b9f4e7a438ee838321c6a56f1c..afc4726665c84001e0963e99b03ca21ee7c0a3fb 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -236,8 +236,7 @@ print_length (wgint size, wgint start, int authoritative)
        logprintf (LOG_VERBOSE, _(", %s remaining"),
                   with_thousand_seps (size - start));
     }
-  if (!authoritative)
-    logputs (LOG_VERBOSE, _(" (unauthoritative)\n"));
+  logputs (LOG_VERBOSE, !authoritative ? _(" (unauthoritative)\n") : "\n");
 }
 
 /* Retrieves a file with denoted parameters through opening an FTP