From 5388ccac44e5342917ad50b091e9e4f906e3a4fc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 1 Nov 2007 18:36:32 +0100 Subject: [PATCH] Kill more duplicate status items. Image ID and Lyrics ID are also contained in the ls -v output. --- command.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/command.c b/command.c index b2dca3a3..a029cfad 100644 --- a/command.c +++ b/command.c @@ -116,10 +116,10 @@ static char *get_status(struct misc_meta_data *nmmd) gettimeofday(&now, NULL); ret = make_message( "%s:%zu\n" "%s:%s\n" "%s:%lu\n" "%s:%u\n" - "%s:%s\n" "%s:%s\n" "%s:%s\n" "%s:%u\n" + "%s:%s\n" "%s:%s\n" "%s:%s\n" "%s:%li\n" "%s:%s\n" "%s" "%s:%s\n" "%s:%lu.%lu\n" "%s:%lu.%lu\n" - "%s:%s\n" "%s:%u\n" "%s\n", + "%s:%s\n" "%s\n", status_item_list[SI_FILE_SIZE], nmmd->size / 1024, status_item_list[SI_MTIME], mtime, status_item_list[SI_LENGTH], nmmd->afd.afhi.seconds_total, @@ -128,7 +128,6 @@ static char *get_status(struct misc_meta_data *nmmd) status_item_list[SI_BASENAME], basename ? basename : "(none)", status_item_list[SI_STATUS], status, status_item_list[SI_STATUS_FLAGS], flags, - status_item_list[SI_IMAGE_ID], nmmd->afd.afsi.image_id, status_item_list[SI_OFFSET], offset, status_item_list[SI_AFS_MODE], mmd->afs_mode_string, @@ -143,7 +142,6 @@ static char *get_status(struct misc_meta_data *nmmd) (long unsigned)now.tv_usec, status_item_list[SI_DIRECTORY], dirname? dirname : "(none)", - status_item_list[SI_LYRICS_ID], nmmd->afd.afsi.lyrics_id, nmmd->afd.afs_status_info ); -- 2.39.5