comparison src/c/fastcgi.c @ 1139:398ed1b89ee7

Change to satisfy GCC implicit aliasing rules
author Adam Chlipala <adamc@hcoop.net>
date Sat, 30 Jan 2010 12:00:08 -0500
parents b7118ffd32ae
children 15767031950c
comparison
equal deleted inserted replaced
1138:b7118ffd32ae 1139:398ed1b89ee7
334 } 334 }
335 335
336 if (r->type != FCGI_BEGIN_REQUEST) { 336 if (r->type != FCGI_BEGIN_REQUEST) {
337 write_stderr(out, "First message is not BEGIN_REQUEST\n"); 337 write_stderr(out, "First message is not BEGIN_REQUEST\n");
338 goto done; 338 goto done;
339 } else if (((FCGI_BeginRequestBody *)&r->contentData)->roleB0 != FCGI_RESPONDER) { 339 } else if (r->contentData[1] != FCGI_RESPONDER) {
340 write_stderr(out, "First message is not BEGIN_REQUEST\n"); 340 write_stderr(out, "Request is for a role besides RESPONDER\n");
341 goto done; 341 goto done;
342 } 342 }
343 343
344 while (1) { 344 while (1) {
345 unsigned char *buf; 345 unsigned char *buf;