diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-30 12:00:08 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-30 12:00:08 -0500 |
commit | 2b9d3665ec94bb335c93ac7c586ee28f41b35cd6 (patch) | |
tree | 81a5fc6069abea0091fce4c7e0d992f972457f17 | |
parent | d3cd94b0c819c58492cc45576565a96abdd26eda (diff) |
Change to satisfy GCC implicit aliasing rules
-rw-r--r-- | src/c/fastcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/fastcgi.c b/src/c/fastcgi.c index 2c9d1da1..092cd056 100644 --- a/src/c/fastcgi.c +++ b/src/c/fastcgi.c @@ -336,8 +336,8 @@ static void *worker(void *data) { if (r->type != FCGI_BEGIN_REQUEST) { write_stderr(out, "First message is not BEGIN_REQUEST\n"); goto done; - } else if (((FCGI_BeginRequestBody *)&r->contentData)->roleB0 != FCGI_RESPONDER) { - write_stderr(out, "First message is not BEGIN_REQUEST\n"); + } else if (r->contentData[1] != FCGI_RESPONDER) { + write_stderr(out, "Request is for a role besides RESPONDER\n"); goto done; } |