]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Avoid empty lines in the status output.
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Nov 2007 19:22:56 +0000 (20:22 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 11 Nov 2007 19:22:56 +0000 (20:22 +0100)
aft.c
command.c

diff --git a/aft.c b/aft.c
index 57df793fb8b16ec1c111e21b5928d44872c9248f..292cabea20260681a48c738ee99f0fcb672138df 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -903,7 +903,7 @@ static int print_list_item(struct ls_data *d, struct ls_options *opts,
                        "%s: %lu\n" /* seconds total */
                        "%s: %d\n" /* num_played */
                        "%s: %s\n" /* last_played */
-                       "%s\n", /* tag info */
+                       "%s", /* tag info */
                        filename_lines,
                        have_score? status_item_list[SI_SCORE] : "",
                                have_score? ": " : "",
index bfa58e400e1cc5d62a3eb5d2a3264b26d562a964..8bafcc0418995c0bb8c42b92fa08d996a4f2f8e1 100644 (file)
--- a/command.c
+++ b/command.c
@@ -120,7 +120,7 @@ static char *get_status(struct misc_meta_data *nmmd)
                "%s: %s\n" /* afs mode */
                "%s: %lu.%lu\n" /* stream start */
                "%s: %lu.%lu\n" /* current server time */
-               "%s\n", /* afs status info */
+               "%s", /* afs status info */
                status_item_list[SI_FILE_SIZE], nmmd->size / 1024,
                status_item_list[SI_MTIME], mtime,
                status_item_list[SI_STATUS], status,