sniper          Sun Mar  9 21:17:06 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.16 php4/sapi/cgi/cgi_main.c:1.190.2.17
--- php4/sapi/cgi/cgi_main.c:1.190.2.16 Sat Feb 15 08:26:05 2003
+++ php4/sapi/cgi/cgi_main.c    Sun Mar  9 21:17:06 2003
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.190.2.16 2003/02/15 13:26:05 edink Exp $ */
+/* $Id: cgi_main.c,v 1.190.2.17 2003/03/10 02:17:06 sniper Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -233,6 +233,7 @@
                ret = sapi_cgibin_single_write(ptr, remaining TSRMLS_CC);
                if (!ret) {
                        php_handle_aborted_connection();
+                       return str_length - remaining;
                }
                ptr += ret;
                remaining -= ret;



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

Reply via email to