summaryrefslogtreecommitdiff
path: root/tests/fcgi-responder.c
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-11-21 23:03:45 +0100
committerArno Töll <arno@debian.org>2012-11-21 23:03:45 +0100
commit9fa7c3d770fb8688555b661940e04c3bf6b6d8aa (patch)
tree7d26c5c3a492656762910721988ee0867f7a57c4 /tests/fcgi-responder.c
parentc99b717062c6228c4ac6df3831702f81c9806df4 (diff)
downloadlighttpd-a8b8915ca6f8bc0a759f321cb49d0a9210fe23df.tar.gz
Imported Upstream version 1.4.13~r1385upstream/1.4.13_r1385
Diffstat (limited to 'tests/fcgi-responder.c')
-rw-r--r--tests/fcgi-responder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fcgi-responder.c b/tests/fcgi-responder.c
index 86b5373..9270295 100644
--- a/tests/fcgi-responder.c
+++ b/tests/fcgi-responder.c
@@ -10,11 +10,11 @@
int main () {
int num_requests = 2;
-
+
while (num_requests > 0 &&
FCGI_Accept() >= 0) {
char* p;
-
+
if (NULL != (p = getenv("QUERY_STRING"))) {
if (0 == strcmp(p, "lf")) {
printf("Status: 200 OK\n\n");
@@ -37,9 +37,9 @@ int main () {
} else {
printf("Status: 500 Internal Foo\r\n\r\n");
}
-
+
printf("test123");
}
-
+
return 0;
}