Browse Source

Fix incompatible types, we need to use a char here for recv()

experimental/with_scalar_types
Kalle Sommer Nielsen 16 years ago
parent
commit
210fe80bd5
  1. 2
      sapi/cgi/fastcgi.c

2
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) */

Loading…
Cancel
Save