From: Art Cancro Date: Tue, 24 Jan 2012 21:44:38 +0000 (-0500) Subject: Include the server's startup time as one of the output parameters of the TIME command X-Git-Tag: v8.11~220 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=39581b591a9b9a23a30d6401a489099079d10734 Include the server's startup time as one of the output parameters of the TIME command --- 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 }