summaryrefslogtreecommitdiff
path: root/tests/fcgi-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fcgi-auth.c')
-rw-r--r--tests/fcgi-auth.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/fcgi-auth.c b/tests/fcgi-auth.c
index bb7ae69..92cd373 100644
--- a/tests/fcgi-auth.c
+++ b/tests/fcgi-auth.c
@@ -10,21 +10,21 @@
int main () {
char* p;
-
- while (FCGI_Accept() >= 0) {
+
+ while (FCGI_Accept() >= 0) {
/* wait for fastcgi authorizer request */
-
+
printf("Content-type: text/html\r\n");
-
+
if (((p = getenv("QUERY_STRING")) == NULL) ||
strcmp(p, "ok") != 0) {
printf("Status: 403 Forbidden\r\n\r\n");
- } else {
+ } else {
printf("\r\n");
/* default Status is 200 - allow access */
}
-
- printf("foobar\r\n");
+
+ printf("foobar\r\n");
}
return 0;