summaryrefslogtreecommitdiff
path: root/sapi/cgi/fastcgi.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-09-19 19:18:30 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-09-19 19:18:30 +0000
commit210fe80bd5f221b2aa4b0b562fc0abdd4dd2f3a5 (patch)
treec35d1529effb8c94c1ff733e5b4322fe1f599967 /sapi/cgi/fastcgi.c
parentbd526e47f5724440232f6e6c9836c08d8bd299bc (diff)
downloadphp-git-210fe80bd5f221b2aa4b0b562fc0abdd4dd2f3a5.tar.gz
Fix incompatible types, we need to use a char here for recv()
Diffstat (limited to 'sapi/cgi/fastcgi.c')
-rw-r--r--sapi/cgi/fastcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c
index 935f1ee80a..b1edc9d1ce 100644
--- a/sapi/cgi/fastcgi.c
+++ b/sapi/cgi/fastcgi.c
@@ -1108,7 +1108,7 @@ static inline void fcgi_close(fcgi_request *req, int force, int destroy)
DisconnectNamedPipe(pipe);
} else {
if (!force) {
- fcgi_header buf;
+ char buf;
shutdown(req->fd, 1);
/* read the last FCGI_STDIN header (it may be omitted) */