cvs: php-src /main SAPI.c

From: Date: Sat, 22 Nov 2003 21:10:48 +0000
Subject: cvs: php-src /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24629@lists.php.net to get a copy of this message
sesser Sat Nov 22 16:10:48 2003 EDT Modified files: /php-src/main SAPI.c Log: On error do not leave content_type_dup unitialised. Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.179 php-src/main/SAPI.c:1.180 --- php-src/main/SAPI.c:1.179 Sat Sep 13 11:27:04 2003 +++ php-src/main/SAPI.c Sat Nov 22 16:10:47 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.179 2003/09/13 15:27:04 abies Exp $ */ +/* $Id: SAPI.c,v 1.180 2003/11/22 21:10:47 sesser 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 (#24629) next »