From 6664409baacff2381b942137ab4fd631012c65ec Mon Sep 17 00:00:00 2001
From: hniksic <devnull@localhost>
Date: Mon, 16 May 2005 05:41:29 -0700
Subject: [PATCH] [svn] Consistently print \n at the end of the "Length" line.

---
 src/ChangeLog | 5 +++++
 src/ftp.c     | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 6b6d6355..a1849db3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
diff --git a/src/ftp.c b/src/ftp.c
index 4ec30a4a..afc47266 100644
--- 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