Don't print attributes string twice.
authorAndre Noll <maan@systemlinux.org>
Thu, 1 Nov 2007 17:04:34 +0000 (18:04 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 1 Nov 2007 17:04:34 +0000 (18:04 +0100)
command.c

index 8ec57fe..e5e8e68 100644 (file)
--- a/command.c
+++ b/command.c
@@ -118,7 +118,7 @@ static char *get_status(struct misc_meta_data *nmmd)
                "%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:%li\n"      "%s:%s\n"       "%s:%s\n" "%s"
-               "%s:%s\n"       "%s:%lu.%lu\n"  "%s:%lu.%lu\n" "%s:%s\n"
+               "%s:%s\n"       "%s:%lu.%lu\n"  "%s:%lu.%lu\n"
                "%s:%s\n"       "%s:%u\n"       "%s\n",
                status_item_list[SI_FILE_SIZE], nmmd->size / 1024,
                status_item_list[SI_MTIME], mtime,
@@ -144,7 +144,6 @@ static char *get_status(struct misc_meta_data *nmmd)
                status_item_list[SI_CURRENT_TIME],
                        (long unsigned)now.tv_sec,
                        (long unsigned)now.tv_usec,
-               status_item_list[SI_ATTRIBUTES], mmd->afd.attributes_string,
 
                status_item_list[SI_DIRECTORY], dirname? dirname : "(none)",
                status_item_list[SI_LYRICS_ID], nmmd->afd.afsi.lyrics_id,