sesser          Sun Nov 28 08:32:29 2004 EDT

  Modified files:              
    /php-src/main       SAPI.c 
  Log:
  Fixed: Correctly Initialize fields
  
  
  
http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.191&r2=1.192&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.191 php-src/main/SAPI.c:1.192
--- php-src/main/SAPI.c:1.191   Mon Oct  4 20:42:25 2004
+++ php-src/main/SAPI.c Sun Nov 28 08:32:29 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: SAPI.c,v 1.191 2004/10/05 00:42:25 andi Exp $ */
+/* $Id: SAPI.c,v 1.192 2004/11/28 13:32:29 sesser Exp $ */
 
 #include <ctype.h>
 #include <sys/stat.h>
@@ -290,10 +290,14 @@
 
        /* SG(sapi_headers).http_response_code = 200; */ 
        SG(sapi_headers).http_status_line = NULL;
+       SG(read_post_bytes) = 0;
+       SG(request_info).post_data = NULL;
+       SG(request_info).raw_post_data = NULL;
        SG(request_info).current_user = NULL;
        SG(request_info).current_user_length = 0;
        SG(request_info).no_headers = 0;
        SG(request_info).post_entry = NULL;
+       SG(global_request_time) = 0;
 
        /*
         * It's possible to override this general case in the activate() 
callback, 
@@ -332,6 +336,7 @@
        SG(request_info).current_user = NULL;
        SG(request_info).current_user_length = 0;
        SG(request_info).no_headers = 0;
+       SG(request_info).post_entry = NULL;
        SG(global_request_time) = 0;
 
        /* It's possible to override this general case in the activate() 
callback, if

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

Reply via email to