]> granicus.if.org Git - php/commitdiff
Fix incompatible types, we need to use a char here for recv()
authorKalle Sommer Nielsen <kalle@php.net>
Sun, 19 Sep 2010 19:18:30 +0000 (19:18 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Sun, 19 Sep 2010 19:18:30 +0000 (19:18 +0000)
sapi/cgi/fastcgi.c

index 935f1ee80a6eeb8de352bd137f7bc49431dcae0a..b1edc9d1ce20eff9a1e05e2ecf18e6e3eacc35fa 100644 (file)
@@ -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) */