moriyoshi               Sat Mar 29 11:18:12 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/sapi/cgi      cgi_main.c 
  Log:
  MFH
  
  
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.190.2.22 php4/sapi/cgi/cgi_main.c:1.190.2.23
--- php4/sapi/cgi/cgi_main.c:1.190.2.22 Sat Mar 29 11:14:41 2003
+++ php4/sapi/cgi/cgi_main.c    Sat Mar 29 11:18:11 2003
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.190.2.22 2003/03/29 16:14:41 moriyoshi Exp $ */
+/* $Id: cgi_main.c,v 1.190.2.23 2003/03/29 16:18:11 moriyoshi Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -334,9 +334,11 @@
                        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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to