From 39581b591a9b9a23a30d6401a489099079d10734 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 24 Jan 2012 16:44:38 -0500 Subject: [PATCH] Include the server's startup time as one of the output parameters of the TIME command --- citadel/citserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/citserver.c b/citadel/citserver.c index 2cca2f8db..782f6a99b 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -346,9 +346,9 @@ void cmd_time(char *argbuf) /* timezone and daylight global variables are not portable. */ #ifdef HAVE_STRUCT_TM_TM_GMTOFF - cprintf("%d %ld|%ld|%d\n", CIT_OK, (long)tv, tmp.tm_gmtoff, tmp.tm_isdst); + cprintf("%d %ld|%ld|%d|%ld\n", CIT_OK, (long)tv, tmp.tm_gmtoff, tmp.tm_isdst, server_startup_time); #else - cprintf("%d %ld|%ld|%d\n", CIT_OK, (long)tv, timezone, tmp.tm_isdst); + cprintf("%d %ld|%ld|%d|%ld\n", CIT_OK, (long)tv, timezone, tmp.tm_isdst, server_startup_time); #endif } -- 2.30.2