changeset 573:a2d49bf1d2d1

2004-9-29 Brian Masney <masneyb@gftp.org> * src/text/gftp-text.c src/uicommon/gftpui.c - make sure that extra newlines are not displayed to the user when certain commands are run from the text console
author masneyb
date Wed, 29 Sep 2004 22:50:33 +0000
parents ce1e83470207
children 81b957b00691
files ChangeLog src/text/gftp-text.c src/uicommon/gftpui.c
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 29 22:43:59 2004 +0000
+++ b/ChangeLog	Wed Sep 29 22:50:33 2004 +0000
@@ -1,4 +1,8 @@
 2004-9-29 Brian Masney <masneyb@gftp.org>
+	* src/text/gftp-text.c src/uicommon/gftpui.c - make sure that extra
+	newlines are not displayed to the user when certain commands are run
+	from the text console
+
 	* lib/rfc959.c lib/protocols.c lib/gftp.h - when making an IPv6
 	FTP connection, make sure the proper addrinfo structure is used.
 	Added more error checks to the EPSV parsing
@@ -2888,7 +2892,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.334 2004/09/29 22:43:59 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.335 2004/09/29 22:50:33 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/text/gftp-text.c	Wed Sep 29 22:43:59 2004 +0000
+++ b/src/text/gftp-text.c	Wed Sep 29 22:50:33 2004 +0000
@@ -132,7 +132,7 @@
     }
 
   if (level == gftp_logging_misc_nolog)
-    printf ("%s\n", outstr);
+    printf ("%s", outstr);
   else
     gftp_text_write_string (outstr);
   
--- a/src/uicommon/gftpui.c	Wed Sep 29 22:43:59 2004 +0000
+++ b/src/uicommon/gftpui.c	Wed Sep 29 22:50:33 2004 +0000
@@ -626,7 +626,7 @@
 
       gftpui_lookup_file_colors (fle, &startcolor, &endcolor);
       tempstr = gftp_gen_ls_string (fle, startcolor, endcolor);
-      request->logging_function (gftp_logging_misc_nolog, request, "%s",
+      request->logging_function (gftp_logging_misc_nolog, request, "%s\n",
                                  tempstr);
       g_free (tempstr);