]> granicus.if.org Git - php/commitdiff
Fixed too optimized part
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 29 Mar 2003 16:18:04 +0000 (16:18 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 29 Mar 2003 16:18:04 +0000 (16:18 +0000)
sapi/cgi/cgi_main.c

index 7ba8365699398b1fd236c743074bb60d86391066..25f664dde3422fe0372cd266a85c876395aea5a4 100644 (file)
@@ -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;