X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Ffastcgi.c;h=67f7de3f2903074435578a69bdd6897e7151fd4e;hb=ed189a5dd5b5ca6c052d75704dec3f58fe410387;hp=e391fcde9938a9eb57a7fb70e8564ebd0fe48496;hpb=a38be3223efa75bb469d25812468e7e943affe5a;p=matches%2FMCTX3420.git diff --git a/server/fastcgi.c b/server/fastcgi.c index e391fcd..67f7de3 100644 --- a/server/fastcgi.c +++ b/server/fastcgi.c @@ -294,6 +294,7 @@ void FCGI_BeginJSON(FCGIContext *context, StatusCodes status_code) FCGI_JSONDouble("start_time", TIMEVAL_TO_DOUBLE(g_options.start_time)); FCGI_JSONDouble("current_time", TIMEVAL_TO_DOUBLE(now)); FCGI_JSONDouble("running_time", TIMEVAL_DIFF(now, g_options.start_time)); + FCGI_JSONPair("control_state", Control_GetModeName()); } /**