From ea698c4df1edb2098f42f6c3c8dcef65d5b040d9 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 11 Nov 2007 20:22:56 +0100 Subject: [PATCH] Avoid empty lines in the status output. --- aft.c | 2 +- command.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aft.c b/aft.c index 57df793f..292cabea 100644 --- 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? ": " : "", diff --git a/command.c b/command.c index bfa58e40..8bafcc04 100644 --- 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, -- 2.39.2