cvs: php4(PHP_4_0_5) /main SAPI.c
| From: | Jani Taskinen | Date: | Tue, 20 Mar 2001 01:42:40 +0000 |
| Subject: | cvs: php4(PHP_4_0_5) /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4699@lists.php.net to get a copy of this message | ||
sniper Mon Mar 19 17:42:40 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/main SAPI.c
Log:
MFH
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.100.2.1 php4/main/SAPI.c:1.100.2.2
--- php4/main/SAPI.c:1.100.2.1 Sat Mar 17 18:36:27 2001
+++ php4/main/SAPI.c Mon Mar 19 17:42:40 2001
@@ -97,7 +97,7 @@
SAPI_API void sapi_handle_post(void *arg SLS_DC)
{
- if (SG(request_info).post_entry) {
+ if (SG(request_info).post_entry && SG(request_info).content_type_dup) {
SG(request_info).post_entry->post_handler(SG(request_info).content_type_dup, arg SLS_CC);
if (SG(request_info).post_data) {
efree(SG(request_info).post_data);