diff options
-rw-r--r-- | sapi/cgi/cgi_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 7ba8365699..25f664dde3 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -355,9 +355,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; |