From bb4a3f979b9ea37de1e7f44f4529df8f76dcc7ca Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sat, 29 Mar 2003 16:18:11 +0000 Subject: [PATCH] MFH --- sapi/cgi/cgi_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 267d6e77b2..1ee979eb4b 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -334,9 +334,11 @@ static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) tmp_read_bytes = FCGX_GetStr( pos, count_bytes-read_bytes, request->in ); pos += tmp_read_bytes; } else { -#endif tmp_read_bytes = read(0, buffer+read_bytes, count_bytes-read_bytes); } +#else + tmp_read_bytes = read(0, buffer+read_bytes, count_bytes-read_bytes); +#endif if (tmp_read_bytes<=0) { break; -- 2.50.1