Don't report server uptime as status item.
authorAndre Noll <maan@systemlinux.org>
Fri, 2 Nov 2007 14:52:03 +0000 (15:52 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 2 Nov 2007 14:52:03 +0000 (15:52 +0100)
This belongs to the server info.

command.c

index 319c88a..bfa58e4 100644 (file)
--- a/command.c
+++ b/command.c
@@ -118,7 +118,6 @@ static char *get_status(struct misc_meta_data *nmmd)
                "%s: %s\n" /* status flags */
                "%s: %li\n" /* offset */
                "%s: %s\n" /* afs mode */
-               "%s: %s\n" /* server uptime */
                "%s: %lu.%lu\n" /* stream start */
                "%s: %lu.%lu\n" /* current server time */
                "%s\n", /* afs status info */
@@ -130,7 +129,6 @@ static char *get_status(struct misc_meta_data *nmmd)
                status_item_list[SI_OFFSET], offset,
                status_item_list[SI_AFS_MODE], mmd->afs_mode_string,
 
-               status_item_list[SI_UPTIME], ut,
                status_item_list[SI_STREAM_START],
                        (long unsigned)nmmd->stream_start.tv_sec,
                        (long unsigned)nmmd->stream_start.tv_usec,