summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-07-05 17:38:14 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-07-05 17:38:14 +0000
commit278dc574f2bcabe8e65aea489a4fc4e2d0cd1d21 (patch)
treeb659bd9f631ee945a8cefb7ba3f8166ac897f83a /ext/standard/php_fopen_wrapper.c
parentd90263437c0e6b10faa9b23c616afa0f68cd2178 (diff)
downloadphp-git-278dc574f2bcabe8e65aea489a4fc4e2d0cd1d21.tar.gz
E_ERROR > E_RECOVERABLE_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 1e05f3d556..eafd3a3850 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -171,7 +171,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
path += 11;
max_memory = strtol(path, NULL, 10);
if (max_memory < 0) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Max memory must be >= 0");
+ php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Max memory must be >= 0");
return NULL;
}
}