X-Git-Url: https://git.ucc.asn.au/?p=matches%2FMCTX3420.git;a=blobdiff_plain;f=server%2Ffastcgi.c;h=67f7de3f2903074435578a69bdd6897e7151fd4e;hp=e391fcde9938a9eb57a7fb70e8564ebd0fe48496;hb=b7150f722995ea6807182da24653a15693a82698;hpb=f5e2b07860f26bde42b9a9eb41ef68138ff2a379 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()); } /**