summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-05-16 14:11:52 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-05-16 14:11:52 +0000
commitccad354535ff85ac23ed24b3a89be6012c2a29a9 (patch)
tree81a2740ca4f93ea78a652b56416ed2bd5e0314e8 /ext/standard/php_fopen_wrapper.c
parent1feef82dc4d59d71d9b99dcae2e201f0dd70d1f3 (diff)
downloadphp-git-ccad354535ff85ac23ed24b3a89be6012c2a29a9.tar.gz
Make filters without a resource throw E_RECOVERABLE_ERROR rather then
E_ERROR
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index d3021912b1..1e05f3d556 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -207,7 +207,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
pathdup = estrndup(path + 6, strlen(path + 6));
p = strstr(pathdup, "/resource=");
if (!p) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "No URL resource specified.");
+ php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "No URL resource specified.");
efree(pathdup);
return NULL;
}