X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Ffastcgi.c;h=3218a589e494c9c4513a58e67647de72ea746ba5;hb=6251ae03b906a9603e8d8ed9ac74b8339a57ca7b;hp=d3e4b2869ff7fe5846df37160f7d5a3f5e4ce055;hpb=86e68ea7c2ee5c34a1cb1e1b0b7bbed09da161d3;p=matches%2FMCTX3420.git diff --git a/server/fastcgi.c b/server/fastcgi.c index d3e4b28..3218a58 100644 --- a/server/fastcgi.c +++ b/server/fastcgi.c @@ -511,7 +511,7 @@ void * FCGI_RequestLoop (void *data) { if (cookie[0] == '\0') { - FCGI_RejectJSON(&context, "Please login."); + FCGI_RejectJSONEx(&context, STATUS_UNAUTHORIZED, "Please login."); continue; }