cvs: php4 /main SAPI.c
| From: | Andi Gutmans | Date: | Fri, 23 Jun 2000 13:05:07 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-403@lists.php.net to get a copy of this message | ||
andi Fri Jun 23 06:05:07 2000 EDT
Modified files:
/php4/main SAPI.c
Log:
- COMPILE_ERROR should only be used in Zend
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.75 php4/main/SAPI.c:1.76
--- php4/main/SAPI.c:1.75 Thu May 18 08:34:21 2000
+++ php4/main/SAPI.c Fri Jun 23 06:05:06 2000
@@ -151,7 +151,7 @@
post_reader_func = post_entry->post_reader;
} else {
if (!sapi_module.default_post_reader) {
- sapi_module.sapi_error(E_COMPILE_ERROR, "Unsupported content type: '%s'",
content_type);
+ sapi_module.sapi_error(E_ERROR, "Unsupported content type: '%s'",
content_type);
return;
}
SG(request_info).post_entry = NULL;
@@ -280,7 +280,7 @@
if (SG(request_info).request_method
&& !strcmp(SG(request_info).request_method, "POST")) {
if (!SG(request_info).content_type) {
- sapi_module.sapi_error(E_COMPILE_ERROR, "No content-type in POST request");
+ sapi_module.sapi_error(E_ERROR, "No content-type in POST request");
}
sapi_read_post_data(SLS_C);
} else {