X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Ffastcgi.c;h=3218a589e494c9c4513a58e67647de72ea746ba5;hb=e5f75202a0c2aaefc6c0555c685661880054bd0c;hp=d3e4b2869ff7fe5846df37160f7d5a3f5e4ce055;hpb=0bcd433fc420fa29bfaaca732acf689c9603e59d;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; }