cvs: php-src(PHP_4_3) /main SAPI.c

From: Date: Wed, 26 Nov 2003 00:33:49 +0000
Subject: cvs: php-src(PHP_4_3) /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24659@lists.php.net to get a copy of this message
sniper Tue Nov 25 19:33:49 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/main SAPI.c Log: MFH: On error do not leave content_type_dup unitialized. Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.155.2.14 php-src/main/SAPI.c:1.155.2.15 --- php-src/main/SAPI.c:1.155.2.14 Wed Sep 10 04:49:46 2003 +++ php-src/main/SAPI.c Tue Nov 25 19:33:48 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.155.2.14 2003/09/10 08:49:46 sr Exp $ */ +/* $Id: SAPI.c,v 1.155.2.15 2003/11/26 00:33:48 sniper Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -160,6 +160,7 @@ SG(request_info).post_entry = NULL; if (!sapi_module.default_post_reader) { /* no default reader ? */ + SG(request_info).content_type_dup = NULL; sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type); return; }

« previous php.cvs (#24659) next »